Print Page | Close Window

Duplicate /product/product

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Search Engine Optimization
Forum Description: Talk about ways to optimize your ProductCart store for search engines
URL: https://forum.productcart.com/forum_posts.asp?TID=5702
Printed Date: 21-November-2024 at 7:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Duplicate /product/product
Posted By: baidevs
Subject: Duplicate /product/product
Date Posted: 18-August-2013 at 10:31pm
Hello All,

We are getting duplicated entries of google indexing on our page. All rewrite rules have been disabled.
We are getting this:

http://www.domain.com/productcart/productcart/productcart/productcart/pc/p988.htm
http://www.domain.comproductcart/productcart/productcart/pc/p988.htm
http://www.domain.com/productcart/productcart/pc/p988.htm
http://www.domain.com/oroductcart/pc/p988.htm

Thanks.



Replies:
Posted By: Greg Dinger
Date Posted: 18-August-2013 at 10:43pm
we can't help without a link.  You might want to start by using XENU link checker to see what's hosed in your navigation, which is probably where the problem starts.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: baidevs
Date Posted: 19-August-2013 at 12:12am
Apologies. Here are the actual links:

www.rothemcollection.com
http://www.rothemcollection.com/productcart/productcart/productcart/productcart/pc/p988.htm
http://www.rothemcollection.com/productcart/productcart/productcart/pc/p988.htm
http://www.rothemcollection.com/productcart/productcart/pc/p988.htm
http://www.rothemcollection.com/productcart/pc/p988.htm

There are no other /productcart directory inside the main /productcart folder.


Posted By: Greg Dinger
Date Posted: 19-August-2013 at 1:38am
In reviewing your links, it appears that your store code is altered.  I state this because the URLs to products and categories are formatted differently than stock functionality would produce.

For example, this category page http://www.rothemcollection.com/productcart/pc/c415.htm" rel="nofollow - http://www.rothemcollection.com/productcart/pc/c415.htm  would normally contain a reference to "Anniversary Bands".  In the process of your mods, you may have introduced code that is causing this problem.

If you have a page that is located in the productcart folder, and contains a relative URL reference to that folder that is not preceded by a "/", then you would end up with a double reference to productcart, and thus your problem. 
 
You have other issues.  Again, I recommend you download and run the FREE XENU link sleuth program.  By running it against your store, I found links such as this:
http://www.rothemcollection.com/productcart/pc/prv_allreviews.asp?IDProduct=1929&IDCategory=0" rel="nofollow - http://www.rothemcollection.com/productcart/pc/prv_allreviews.asp?IDProduct=1929&IDCategory=0
 
In the rendered source of that page is this:
<link rel="canonical" href=" http://www.rothemcollection.com/pc/p1929.htm" rel="nofollow - http://www.rothemcollection.com/pc/p1929.htm " />
<link rel="image_src" href=" http://www.rothemcollection.com/pc/catalog/" rel="nofollow - http://www.rothemcollection.com/pc/catalog/ " />
 
Note that the productcart folder reference is missing from those links.  I don't believe stock code will behave this way, at least not the more recent versions.
 
I hope this will provide to you somewhere to start looking for issues within your site.  What version store code is this running?


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Hamish
Date Posted: 19-August-2013 at 4:13am
Hi, this thread covers a very similar issue : http://forum.productcart.com/forum_posts.asp?TID=3390&PN=1&title=rewrite-away-pcs-subdirectories" rel="nofollow - http://forum.productcart.com/forum_posts.asp?TID=3390&PN=1&title=rewrite-away-pcs-subdirectories


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Greg Dinger
Date Posted: 19-August-2013 at 9:25am
Hamish - not sure how that applies as it does not appear that they tried to ditch the productcart folder intentionally.  What it appears is that they tried to alter the naming convention of the SEO-friendly page name, keeping the c415.htm, but eliminating the actual keywords.
 
In that process they have hosed their canonical URL references, and probably introduced some malformed product page URLs.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net