Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

www.mysite.com/catalog vs. catalog.mysite.com


etzeppy

Recommended Posts

Posted

My ISP provides an installation of OSC but they won't let you install it in the root directory. I selected /store as the install location which gave me an OSC root of www.mysite.com/store/catalog/

 

Not knowing where I was headed with OSC, I stuck with the default location and got to work. Once I got my site functioning as intended, I decided to implement a sub-domain that points to my OSC directory. My store now shows up as catalog.mysite.com. When I went live, I setup a redirector that points requests for www.mysite.com to catalog.mysite.com.

 

This approach seemed to work great but now I'm wondering if this will have a negative impact on search engine ranking. Other sites that link to me all point to www.mysite.com which in turn is redirected to catalog.mysite.com. None of the external links actually point to catalog.mysite.com. Is this a big deal? Is there a better way to do it?

Posted

It could be. In the least it is a big mess. If you don't want to switch hosts, which you should if they won't allow you to have your site in the root, you should at least move the shop from the catalog directory to the store directory. Then the url for the shop would be www.mysite.com/store.

 

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

Posted
It could be. In the least it is a big mess. If you don't want to switch hosts, which you should if they won't allow you to have your site in the root, you should at least move the shop from the catalog directory to the store directory. Then the url for the shop would be www.mysite.com/store.

 

Jack

 

I guess I shouldn't have said that my ISP won't let me install in the root. It's that their OSC installer wouldn't let me. I'm sure I could manually move everything back to the root if I can figure out how to do that without breaking something. I initally liked the catalog.mysite.com setup but wasn't thinking about the possible impact with search engines.

Posted

If your host uses cPanel, then the fantastico osc installer will allow you to leave the directory field blank to install at root.

Posted
I guess I shouldn't have said that my ISP won't let me install in the root. It's that their OSC installer wouldn't let me. I'm sure I could manually move everything back to the root if I can figure out how to do that without breaking something. I initally liked the catalog.mysite.com setup but wasn't thinking about the possible impact with search engines.
It is not a difficult change. First, copy all files and directories from the shops directory into the root. Then change the two configure files so that the references to that sub-driectory are removed. You may also have to remove whatever redirection code is being used to cause your current shop to load. It should be working at that point.

 

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

Posted
It is not a difficult change. First, copy all files and directories from the shops directory into the root. Then change the two configure files so that the references to that sub-driectory are removed. You may also have to remove whatever redirection code is being used to cause your current shop to load. It should be working at that point.

 

Jack

 

It was my bad for not looking at the relocation option first. I had assumed it was dificult so I used the sub-domain. I think I'll move everything to the root and put a 301 redirect in old the /store/catalog/ directory (root for the sub-domain) to handle the small amount of indexing that has taken place there.

 

That does bring up a redirection question. My old static site used html pages only. My main page was index.html for years. Is it safe to remove the old html files and let index.php take over or do I need to setup a redirect from index.htm to index.php?

 

Thanks everyone for the input on this. I'll eventually learn enough to be dangerous.

Posted
Yes, it is safe. Will it cause a drop in your index listings, most likely. But that will recover quickly enough. The redirect is probably a good idea but make sure it is a 301.

 

Jack

 

Moved last night with no issues. Thanks for all of the help...again!

Archived

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

×
×
  • Create New...