...

View Full Version : RewriteRule working... sometimes!



htcilt
10-20-2010, 04:40 PM
This is really strange.
I want my rewrite to do a shortcut from


http://www.mysite.com/advert

to


http://www.mysite.com/adverts/october

here is my rule:


RewriteRule ^advert$ /adverts/october/index.php [L]

It always works on my office PC using the internal proxy. However, testing it on my phone using 3G, it usually goes to http://www.mysite.com/advert then jumps to http://www.mysite.com/adverts/october

Where am I going wrong?

htcilt
10-20-2010, 05:31 PM
Think I've sorted it. I removed RewriteBase / and it seems to be working now.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum