Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscommerce 2.3.1 and google crawl url


UsingOSC

Recommended Posts

Hi experts:

 

I am not sure if this is related to product_info.php. Google webmaster indicates there is a huge number of 404 url errors. Clicked on one it shows a link like this:

 

http://lifeome.com/http://lifeome.com/product_info.php/il-11-human/pyt214-1mg-p-294

 

so basically the duplication of the domain name is causing the crawl error. The panel says the above url is Linked From

http://lifeome.com/product_info.php/il-11-human/pyt214-1mg-p-294

which is the correct link.

 

Is this a results of some incorrect coding of links in the product_info.php, or something else?

 

Thank you

Link to comment
Share on other sites

The issue you have is because of following in your <head> section

 

<link rel="canonical" href="http://lifeome.com/http://lifeome.com/product_info.php/il-11-human/pyt214-1mg-p-294" />

 

First thing to check is file includes/configure.php

 

Second, try to make clear when the problem started. Maybe after adding some sort of add-on?

 

 

EDIT

 

The issue must be with file includes/modules/header_tags/ht_canonical.php

 

Replace that file with a original file from version 2.3.3. Make sure you remove the module in admin before replacing the file. Then enable it again

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...