| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
shiro
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,007
|
301 Redirect problem
I am trying to create a 301 redirect from site.com/access/index.htm to site.com/info/map.html I am using this code in my .htaccess file (in the root directory): Code:
The redirect works - kind of. The problem is that it is redirecting me to site.com/info/map.html/ (note the trailing forward slash). The page itself has google maps on it, and they don't work when the trailing slash is added to the URL. Does anybody have any ideas on how to solve this problem? This space for rent.
|
|
|
|
|
|
#3 (permalink) |
|
shiro
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,007
|
Thanks Mike, that worked. Kind of! Now it is forwarding: Code:
but it won't forward Code:
Here is my entire root directory .htaccess: Code:
Anybody have any ideas on how I can get it to forward the page with or without the www extension? Thanks. This space for rent.
|
|
|
|
#4 (permalink) | |
|
Everything is fine.
|
Hmm Quote:
Not sure if that will work or not ? It's all I can think of for now. |
|
|
![]() |