htaccess redirect of multi pages to multi destinations
by Complex <complex_hwg(at)yahoo.com>
|
Date: |
Mon, 5 Aug 2002 14:15:25 -0700 (PDT) |
To: |
HWG Techniques <hwg-techniques(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
Hello,
I searched the archives, the newsgroups, and the web, and haven't
found a good answer. Please help.
I am rearranging the (extremely outdated) pages of my site. I would
like to use the .htaccess file to smoothly redirect people from the old
addresses to the new ones.
Unfortunately, I only know how to make .htaccess redirect one page. The
following works beautifully when it is the sole content of my .htaccess
file:
Redirect permanent /first.html zarathud.org/page1.html
If I add to that, then I am suddenly unable to find any page on
Zarathud. The one page I found describing how to do multiple pages says
to list each redirect on its own line:
Redirect permanent /first.html zarathud.org/page1.html
Redirect permanent /page2.shtml zarathud.org/sub/page2.html
Redirect permanent /page3.html zarathud.org/boat/page3.html
I also tried several variations: separating the statements by commas,
semicolons, pipes; only separating the old & new path argument pairs by
those separators; etc.
No matter what, trying to do multi pages has always broken the site: I
get 500 Internal Server Error for every page on the site.
Please help. I need to solve this so I can put the company site up
online.
Many TIA,
Complex
=====
Note: Any HTML I've typed probably contains spaces or periods to break it in HTML-capable mail readers. (e.g. <.H1>Like This< /H1> )
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA