Redirect problem
I have a problem that is driving me crazy
I have redirected a folder in one domain to a html file in some other domain using .htaccess like this:
www,domain,com/folder
to
www, newdomain, com/file.html
the redirect is working fine but it ads a / at the end of the html file
so after the redirection it looks like this:
www,newdomain,com/file.hml/
the problem is that it says that page can't be viewed and the problem is the / at the end of it
when i remove the / at the end then it works
what can i do to make my pages work with / and without / equally?
the code i've used for the redirect is:
RewriteCond %{HTTP_HOST} ^www,domain.com$
RewriteRule ^book\/?$ "http\:\/\/www\.newdomain\.com\/how\-to\-bla\.html" [R=301,L]
have googled this but didn't find anything...and i don't even know why this redirect code leaves a / at the end
Thanks a lot for the help
Best,
B
-
nevadasoft -
Thanks
{{ DiscussionBoard.errors[2598358].message }} -
-
ExpertsGuide -
Thanks
{{ DiscussionBoard.errors[2622066].message }} -
-
kevinfurtadoos5 -
Thanks
Signaturetelemarketing companies | sales lead generation | coloured glass splashbacks{{ DiscussionBoard.errors[2656477].message }} -
-
cyphix -
Thanks
{{ DiscussionBoard.errors[2656877].message }} -