Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Advice on a directory move


BenCar

Recommended Posts

I have an established site at https://secure.buyfromben.us/oscommerce/ with fairly good search engine results.

I would like the best practice for moving it to the root directory at https://buyfromben.us/ .

I already load the index.php into the root directory via htaccess.

Should I just do a mod rewrite or htaccess to move it to the root as opposed to physically moving the directory?

I know with the changeover I will take an SEO hit, I am just trying to minimize the damage.

Thank you in advance.

Link to comment
Share on other sites

I think you will run into fewer problems by moving the files to the root. 

8 hours ago, BenCar said:

I know with the changeover I will take an SEO hit,

That shouldn't be the case if the move is done properly. Be sure to add redirect code to the roots .htaccess file that issues a 301 for any url that has the sub-directory  in it. Also be sure to update your sitemap files so they have the correct url's. Basically, change anything that mentions the old url, like entries in the shops settings and the robots file.

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...