From fa1b508915dd3df4fe51629d031244eddb963ff4 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 4 Feb 2009 14:47:24 +0000 Subject: Tag URLs now conform to the microformats specification. Fixes #729 git-svn-id: https://code.elgg.org/elgg/trunk@2642 36083f99-b078-4883-b0ff-0f9b5a30f544 --- CONTRIBUTORS.txt | 2 ++ htaccess_dist | 2 ++ views/default/output/tags.php | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index ac9bed124..cf6bdd406 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -24,3 +24,5 @@ Diego Andr Corporación Somos Más Cash Costello + +Jon Kemp \ No newline at end of file diff --git a/htaccess_dist b/htaccess_dist index 678126332..0038689fe 100644 --- a/htaccess_dist +++ b/htaccess_dist @@ -125,4 +125,6 @@ RewriteRule ^pg\/([A-Za-z\_\-]+)$ engine/handlers/pagehandler.php?handler=$1 RewriteRule xml-rpc.php engine/handlers/xml-rpc_handler.php RewriteRule mt/mt-xmlrpc.cgi engine/handlers/xml-rpc_handler.php +RewriteRule ^tag/([A-Za-z0-9\+-]+)/?$ search/?tag=$2 + \ No newline at end of file diff --git a/views/default/output/tags.php b/views/default/output/tags.php index 3865e23ad..70e11ac82 100644 --- a/views/default/output/tags.php +++ b/views/default/output/tags.php @@ -46,7 +46,7 @@ $type = ""; } if (is_string($tag)) { - $tagstr .= "{$tag}"; + $tagstr .= "{$tag}"; } } echo $tagstr; -- cgit v1.2.3