301 page to page on different hosts

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 5
Joined: 17 Oct 2013, 10:08

301 page to page on different hosts

17 Oct 2013, 10:30

Hi

I have tried searching through this very useful forum but cannot find an answer to what is probably not a very difficult question.

Hope you can help with this..

My hosting company tells me that ISAP! Rewrite 3.0 is active on my account and it is an IIS6. and that I need to use an htaccess file

I have a web site with over 100 pages that needs a 301 page to page redirection to an new site on a different host.

So for example

http://www.WebSiteA.co.uk/societies-and-associations.html

301 redirection To

http://www.WebSiteB.co.uk/societies-and-associations/


and also

http://www.WebSiteA.co.uk/societies-and-clubs.html

301 redirection To

http://www.WebSiteB.co.uk/societies-and-clubs/

and so on for around 100 pages

The hosting company have suggested the following but I cant get anything to work and am really stuck, they just keep referring me to the ISAPI examples but I cant find anything to help me..

RewriteEngine on

#Permanent redirect to update old links
RewriteRule (.+) http://newserver.com$1 [R=301,L]


Please can someone tell me what code to put into the htaccess file
to get two or more individual pages to re-direct from one host to another so that if a user has booked marked any of the old site pages they are redirected to the equivalent page we have created on the new site...

Would really appreciate some help with this

Cheers
Mark

User avatar
Posts: 5
Joined: 17 Oct 2013, 10:08

Re: 301 page to page on different hosts

17 Oct 2013, 15:17

Think I have this sorted now

Will let you know if not...

Cheers
Mark

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 14 guests