aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS.txt2
-rw-r--r--htaccess_dist2
-rw-r--r--views/default/output/tags.php2
3 files changed, 5 insertions, 1 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index ac9bed124..cf6bdd406 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -24,3 +24,5 @@ Diego Andrés Ramírez Aragón <diego@somosmas.org>
Corporación Somos Más
Cash Costello <cash.costello@gmail.com>
+
+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
+
</IfModule> \ 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 .= "<a href=\"{$vars['url']}search/?tag=".urlencode($tag) . "{$type}{$subtype}{$object}\">{$tag}</a>";
+ $tagstr .= "<a rel=\"tag\" href=\"{$vars['url']}tag/".urlencode($tag) . "{$type}{$subtype}{$object}\">{$tag}</a>";
}
}
echo $tagstr;