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

404 - http://www.your-domain.com/http%3A%2F%2Fwww.your-domain.com%2Fproduct_info.php%3Fproducts_id%3D104&layout=standard&show_faces=false&width=125&action=like&colorscheme=light&height=35
  (found at http://www.your-domain.com/product_info.php?products_id=104)

Code view of base href osCommerceYou will need to fix your osCommerce site to remove the <base href="your-domain.com"> 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.

    /includes/template_top.php

  4. template code osCommerceFind the <base href="your-domain.com"> 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="your-domain.com"> code being rendered.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

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

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

Need more Help?

Search

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: support@InMotionHosting.com
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!