shake Posted July 13, 2008 Share Posted July 13, 2008 has anyone managed to do a rewrite mod/rule for the tags block yet, i think it's the only part of my site at the minute thats not search engine friendly :-) Link to comment Share on other sites More sharing options...
shake Posted July 13, 2008 Author Share Posted July 13, 2008 looked into it a little more:in .htaccess add: RewriteRule ^search-tag=([a-zA-Z0-9-]*)$ search.php?tag=$1$3 [L,E] in modules/blocktags/blocktags.tpl i've changed mine to {$base_dir}search-tag={$tag.name|urlencode} {foreach from=$tags item=tag name=myLoop} {$tag.name} {/foreach} works for me, enjoy Link to comment Share on other sites More sharing options...
shake Posted July 23, 2008 Author Share Posted July 23, 2008 RewriteRule ^search-tag=([a-zA-Z0-9-+]*)$ search.php?tag=$1$3 [L,E] added a "+" in case of a two word tag Link to comment Share on other sites More sharing options...
Jean-Bruno Posted October 21, 2008 Share Posted October 21, 2008 cool shakecould you precise to me if there is cache for the rewriting ? Link to comment Share on other sites More sharing options...
Recommended Posts