xjx424 Posted April 25, 2011 Share Posted April 25, 2011 Hi,I have tried this a million ways, got it to work once but it didn't work sitewide for some reason. I have a url:http://www.mysite.com/agents/tp/JoeAgent/index.phpand I want it to be found by going to:http://www.mysite.com/JoeAgentI am using thisRewriteCond %{REQUEST_URI} ^/agents/tp/RewriteRule ^([^/]+)/?$ agents/tp/$1/index.php [L]and have also tried something as basic as RewriteCond %{REQUEST_URI} ^/agents/tp/RewriteRule ^(.*)$ agents/tp/$1/index.php [L]I keep getting "The requested URL /JoeAgent/ was not found on this server."Any ideas why it's not working?Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.