Hi,
Not sure if this is the right forum...
I'm using apache to host a site.
I'm trying to create a rewrite rule that creates a 301 redirect if the URL has certain words in it.
For example:
the following links:
http://www.mysite.co.za/home/my_home_page.html
http://www.mysite.co.za/home/my_home_page/contact.html
http://www.mysite.co.za/home/my_home_page/content.html
All need to point to:
http://www.mysite.co.za/index.html
I'm looking for a rule that finds the /home/my_home_page in any address and redirects it.
Any help would be greatly appreciated.
Rewrite help
-
- Registered User
- Posts: 26022
- Joined: 13 May 2004, 02:00
- Location: Getting there...
- Contact:
Re: Rewrite help
MOOD - Thirsty
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
Re: Rewrite help
Thanks so much
-
- Registered User
- Posts: 26022
- Joined: 13 May 2004, 02:00
- Location: Getting there...
- Contact:
Re: Rewrite help
Like a pleasure ek sê!
MOOD - Thirsty
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey