Quote from: splittingred at Dec 01, 2010, 02:33 PM
I’ve done it before with this Chunk as the &tpl property of the tagLister Snippet:
<li class="[[+cls]]"><a href="[[~[[+target]]]]tags/[[+tag]]">[[+tag]]</a> ([[+count]])</li>
And then this as your htaccess rule:
RewriteRule ^tags/([A-Za-z0-9]+)$ ?tag=$1 [L,QSA]
Of course, you’ll need to change it if you’re wanting a different URL other than /tags/, or using a different tagKey other than ?tag.
My first attempt was, adding two rules into my .htaccess
RewriteCond & RewriteRule
and create a new plugin to litteraly rewrite the tag parts, but i failed.
Thanks to splittingred, I’ll give a try for his solution !
It works, but I need to tweak your solution splittingred, specially with accent and space.
Edit : splittingred, i mod your code, in my .htaccess file i added this :
RewriteCond %{REQUEST_URI} /tag/(.*) [NC]
RewriteRule (.*) /?tag=%1&key=tags [L,QSA,NC]
What do you think about this ?