InMotion Hosting Support Center

If you are getting an error similar to the following from Googlebot on your osCommerce site:

404 -
  (found at

Code view of base href osCommerceYou will need to fix your osCommerce site to remove the <base href=""> from the code in the head section. See the snapshot to the right.

Removing the <base href=""> from your osCommerce

  1. Login into your cPanel.
  2. Go to the File Manager. Select your osCommerce install directory and click Go.
  3. Go to the following file and edit it.


  4. template code osCommerceFind the <base href=""> code in the file.

    Comment code osCommerceComment out the code using a PHP comment.

    Save the change.

    Google will now read your website correctly without the <base href=""> code being rendered.

Continued Education in Course osCommerce
You are viewing Section 1: 302: 404 base href Googlebot error in osCommerce
Section 2: Viewing the Best Viewed Report in osCommerce

Support Center Login

Social Media Login

Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!