Blank Cart Pages Showing as Duplicate, HELP
-
Hi Everyone,
I'm seeing a bunch of URLs that look something like this [ domain.com/cart?add&id_product=42&token=776d4a08721f3d8c920e287248797547] showing as duplicate content in my Moz crawls. I think these are just blank pages for the most part. Is there anything to be concerned with here? Is there a way to clean this up?
Thanks!
Ricky
-
Hello, my friend.
It looks like those pages was not blanks at the time, it looks like these are session based shopping cart pages. Meaning that while you are on the website and add something to your shopping cart, you get that url with identificator of what exactly you have in your cart. After you leave the page, that id page either being saved (then it shouldn't be blank now) or get deleted if you make a purchase.
So, check how your functionality works, most likely there is some type of bug. If there are no any bugs and all those page supposed to exist and be blank (weird...), just canonicalize them all to domain.com/cart.
-
Hi,
Ricky, try to avoid dynamic urls i.e. url like domain.com/cart?somethinghere.
In your case, use no index no follow in robot txt file for all your cart pages.
-
I agree with Kashif. Another option would be to block the cart in the robots or canonical all cart pages back to the root (/cart/ not your homepage) if the root of the cart is an actual page you want crawled.
-
Hi Ricky!
Has everyone answered your question?
