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: URL Redirect
Author
Message |
superlativeemma
Newbie


Joined: 09 November 2011
Location: United Kingdom
Posts: 1
Posted: 09 November 2011 at 5:01pm

Hi, I've been asked to add a redirect on to a website:
www.domainname.co.uk

We have had some marketing material printed with :
www.domainname.co.uk/terms printed on it but it needs to be
redirected to the real url of www.domainname.co.uk/terms.html - What
code/syntax do i need to add to my .htaccess file? I'm stuck and on a
deadline - this ISAPI is alien to me.

Please help.

Emma

Edited by superlativeemma - 09 November 2011 at 5:09pm
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 10 November 2011 at 4:28am

The rules should be:

RewriteBase /
RewriteRule ^terms$ /terms.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