Jump to content
BenCar

Advice on a directory move

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×