This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: simple simple 301 redirect of old page to
Author
Message |
elvy1973
Newbie


Joined: 12 October 2010
Posts: 19
Posted: 29 September 2011 at 4:24am

Hello

Is it possible to do a very simple 301 redirect in Version 3 such as below;

redirect 301 /giftshops.html http://www.mydomain.com/gift-shops.html

I don't need a rewrite, just a permanent redirect of this url.This code does not work for me. Is there something I am missing
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 29 September 2011 at 4:42am

In ISAPI_Rewrite 3 the rule will look like:

RewriteBase /
RewriteRule ^giftshops\.html$ /gift-shops.html [NC,R=301,L]

__________________
Regards,
Anton
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version