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.example.com/http%3A%2F%2Fwww.example.com%2Fproduct_info.php%3Fproducts_id%3D104&layout=standard&show_faces=false&width=125&action=like&colorscheme=light&height=35 (found at http://www.example.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="example.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="example.com">code being rendered.