How do I 301 redirect my website on Windows Hosting?

Having problems with your Ecommerce website? Ask for help in here.
Forum rules
Web developers are not allowed to solicit for custom, you may assist when help is asked for, but anyone found to be soliciting for custom will be banned.
If you are looking for web designer or Ecommerce developer our sponsor can provide you with a quote: http://UkEcommerce.Pro

How do I 301 redirect my website on Windows Hosting?

Postby Lois » Fri Jun 08, 2012 10:09 am

Ive changed the name of my website and need to set up a 301 redirect to point it to the new address.
Google says that I need to make a .htaccess file but it doesnt work on my Windows hosting account!
What do I do?
Lois
 
Posts: 7
Joined: Fri Jun 08, 2012 10:05 am

Re: How do I 301 redirect my website on Windows Hosting?

Postby DesignsOnline » Fri Jun 08, 2012 10:23 am

Hi Lois,
welcome to UK Ecommerce Forum. Im not sure if you mean that you have set up
a new domain name for your website, and you want to move the website to the new domain,
or if you mean that you have a new address or new page on your website and you want to
point the old page to the new one.

If you are simply trying to point an old page to a new one then if your hosting company has
Isapi Rewrite installed you can use that to do a 301 redirect.

if it is installed you will need to create a file called httpd.ini
and add the following lines (modified as appropriate)

[ISAPI_Rewrite]
RewriteRule /oldpage.html http://www.yourDomain.com/newpage.html [I,O,RP,L]

This will effectively create a 301 permenent redirect to the new page.



If you want to set up a 301 redirect to point the whole website to a new domain then use:

[ISAPI_Rewrite]
RewriteRule (.+) http://www.newwebsite.com$1 [R=301,L]


If your windows hosting company doesnt have isapi rewrite installed then you will need to go back to your registrar and set up web forwarding to point the old domain to the new one.
Hope that helps...
DesignsOnline
Site Admin
 
Posts: 30
Joined: Mon Apr 30, 2012 2:04 pm
Location: United Kingdom

Re: How do I 301 redirect my website on Windows Hosting?

Postby Lois » Fri Jun 08, 2012 10:25 am

Oh thank you so much. :D
Lois
 
Posts: 7
Joined: Fri Jun 08, 2012 10:05 am


Return to Request Support

cron