Forum Moderators: phranque
Here's the scenario:
I'd like all traffic from:
[domain.com...] (where '*' is a wildcard to capture any hit on that directory)
to go to:
[domain.com...]
basically, I'd like to have any request that would have been directed to the /cgi-bin/boards dir. redirected to the new URL and page.
So, something like:
[domain.com...]
should redirect to:
[domain.com...]
Thanks in advance!
Legolas
Be sure to read Marcia`s WebmasterWorld Welcome and Guide to the Basics [webmasterworld.com] post which contains a lot of very helpful information on how things are dome at WebmasterWorld.
Have a look at An Introduction to Redirecting URLs on an Apache Server [webmasterworld.com] to get you started on how to do URL rewriting using mod_rewrite. These fora contain an extensive number of examples of the thing you want to do. Use the site search [searchengineworld.com] to look for relevant threads.
Hope this helps.
Andreas