302: 404 base href Googlebot error in osCommerce
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)
<base href=""> from your osCommerce
- Login into your cPanel.
- Go to the File Manager. Select your osCommerce install directory and click Go.
- Go to the following file and edit it.
- Find the
<base href="your-domain.com">code in the file.
Comment 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.
We value your feedback!
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.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!