Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Redirecting old site to new site using .htaccess


VPSsupport

Recommended Posts

Posted

Hello,

 

I would like to redirect my old site www.oldsite.com to the www.newsite.co.uk. They are currently on different servers and I have access to both .htaccess.

 

The reason why I want to do this is that I would like to keep the oldsite online while the new site is going live and if I have any problems I would be able to break the link and all visitors would go back to the old site.

 

Is it a case of editting the oldsite .htaccess and doing a 301 redirect to the new site? If so what is the correct code for doing this?

 

I would also like to keep my SEO in order and I would like to be able to do the same redirect for 9 other pages to enable te spiders to find the files it was expecting.

 

for example:

www.oldsite.com/aboutus.html >>>> www.newsite.co.uk/shop/aboutus.php

www.oldsite.com/page18.html >>>> www.newsite.co.uk/shop/contactus.php

 

Any advice would be great as I am about to go live and I do not want to lose any customers.

 

Many Thanks

Regards,

Clive

Posted

As long as it is a legitimate redirect, the SE's will recognize it and adjust their databases accordingly. There might be a slight temporary drop but it should correct itself. That is, as long as the pages contain the same content. If they have changed, then the rank would change no matter what.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...