mod_rewrite subdomain & WordPress problem
View Single Post
07-20-2008, 05:23 PM
Join Date: Mar 2008
The problem I can see with the .htaccess rule below is that the system is trying to accessing "/tag/redirect" instead of passing it through the wordpress system.
RewriteRule ^([^/]+)$ /tag/%1/index.php?tag=%1 [L]
I wasn't able to recreate this through a slightly modified rule (I used ^(.*)$ instead of ^([^/]+)$). ^([^/]+)$ did not work for me at all, which may be because I was testing it with a subdirectory instead of a subdomain.
If "/index.php?tag=%1" is causing a 500 error as well I'm curious what error is being recorded in the error log.
Besides that I think I'm as stumped as you are. Hopefully someone else has a solution they can post.
The Following User Says Thank You to Schroder For This Useful Post:
View Public Profile
Send a private message to Schroder
Find More Posts by Schroder