Soldato
- Joined
- 27 Dec 2005
- Posts
- 17,315
- Location
- Bristol
It's quite simple - I want to redirect users from "www.rghjones.co.uk/hire" to "www.rghjones.co.uk/?a=hire", just so there's a simpler URL to type/read/follow.
I know you can mod-rewrite but I don't know much about that and also heard it was 'disapproved' of by Google. So I created a folder called hire, stuck in a fairly blank index.html with the code:
To put it bluntly, it doesn't work. Somehow it gets the content from the index.php on the next folder level down and tries to display my site as normal (like this). Firstly can someone explain how/why it's doing that, and secondly how can I fix it/redirect with another method?
I know you can mod-rewrite but I don't know much about that and also heard it was 'disapproved' of by Google. So I created a folder called hire, stuck in a fairly blank index.html with the code:
Code:
<meta http-equiv="Refresh" content="0; url=http://www.rghjones.co.uk/?a=hire">
To put it bluntly, it doesn't work. Somehow it gets the content from the index.php on the next folder level down and tries to display my site as normal (like this). Firstly can someone explain how/why it's doing that, and secondly how can I fix it/redirect with another method?