Code: Select all
RewriteRule ^index/([a-z0-9]+) index.php?page=$1url/index.php?page=name
into
url/index/name
It works fine on http://www.irealms.co.uk yet on the host i'm working on, it doesn't.
Instead of showing (url/index/name) in the address bar, it changes to (url/index.php?page=name) on loading the page. So it's showing the url the rule is meant to be disguising.
The host told me this :
Now if that is the case, why does it now behave like this on my own server? Also how do i stop it doing this?Your rewrite rule will always rewrite the URL to the extended form as it is. You may want to think about using a rewite condition if you want some exceptions.
Another problem is the rule doesn't work at all on the work server, using IE, and does the strange redirect i mentioned above when using firefox.