Anybody solved the problem of having the tags redirect for the Ultimate Tag Warrior plugin? It is suppost to change "tag/keyword" into "index.php?tag=keyword". Somehow it needs a .htaccess command to get it to work.
Anybody solved the problem of having the tags redirect for the Ultimate Tag Warrior plugin? It is suppost to change "tag/keyword" into "index.php?tag=keyword". Somehow it needs a .htaccess command to get it to work.
I have a temporary fix in place on a WP2.0 installation. I haven't had a chance to see if the 2.01 update fixes the URL rewrite problem.
The discussion and fix are in the comments at Christine Davis' site:
http://www.neato.co.nz/archives/2006/01/03/ultimate-tag-warrior-29/#comments/
My writeup is here:
I am running Ultimate Tag Warrior with this fix on this site:
Hello hjl,
Thank you for the tips. I put teh additional code into the .htaccess file but it does not work. I get 404 errors for each tag.
Hmm. Did you get the "RewriteEngine On" and also change the RewriteBase to something appropriate for your site? (i.e. not "/running")
I put this code on top of my .htacess file:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^tag/?(.*)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?tag=$1&feed=$2 [QSA,L]
RewriteRule ^tag/?(.*)/page/?(.*)/$ /index.php?tag=$1&paged=$2 [QSA,L]
RewriteRule ^tag/?(.*)/$ /index.php?tag=$1 [QSA,L]
RewriteRule ^tag/?(.*)/page/?(.*)$ /index.php?tag=$1&paged=$2 [QSA,L]
RewriteRule ^tag/?(.*)$ /index.php?tag=$1 [QSA,L]
Are you sure your rewrites are working?
In my .htaccess I put the temporary fix at the top, but without the RewriteCond. This means that it will ignore any existing file or directory that matches /tag or related paths, but it's just temporary.
You might try inserting a rule to test whether rewrites are working, something like this:
RewriteRule ^test-redirect$ http://someurl [R]
which should bounce requests from http://mysite/test-redirect to http://someurl.
I still haven't had a chance to look at the 2.01 update and any fixes for UTW, so this may all be moot.
FYI - I've installed 2.0.1 now, which fixes a permalink problem I've been seeing on my running blog, but it still needs the .htaccess hack to make Ultimate Tag Warrior's tag URLs work correctly.
My rewriting is working as I have my feed redrected to feedburner. I see the rewrite code in my .htaccess file.
This topic has been closed to new replies.