Jump to content

Issue with /cart showing up in Google Search Console and Google Search

Recommended Posts

/cart is showing up in Google Search Console and being searched by Google.

On 2/29/2024 at 5:16 PM, paul2009 said:

The /cart page cannot be removed from a Squarespace site but this should not cause any issues, even if you don't use ecommerce. As you said, it won't be indexed because the /cart page includes a "robots meta tag" that instructs search engines not to show the page in search results. This means that visitors should never see the cart page in search results and therefore won't be aware of it. 

Did this help? Please give feedback by clicking an icon below  ⬇️

I don't see how the /cart page includes a "robots meta tag". This can't be true or it's faulty as it would make it unable to be catalogued by Google.

I'm having the /cart issue but the responses detailing that it won't be indexed by Google Search Console are wrong, please see below.

image.thumb.png.4e85fefd463192ad6dc6a08935e29890.png

image.thumb.png.0da9d5303b26a447d551a5dbd4a7022a.png

I don't have any Ecommerce setup but I do have a Stripe account connected.

If the cart can't be removed then what can be done? As this could send clients to an empty cart page as shown below.

image.thumb.png.67e304d032bf8d1bb6b852a4b407b30b.png

Ideally this needs to be fixed as this only came about in March 2024, I had no problems with the cart prior and haven't changed anything to do with the website. Any ideas?

Link to comment
15 minutes ago, Cinthetic said:

I don't see how the /cart page includes a "robots meta tag". This can't be true or it's faulty as it would make it unable to be catalogued by Google...this only came about in March 2024, I had no problems with the cart prior and haven't changed anything to do with the website. Any ideas?

The page does contain the robots meta tag but it is not valid because there are some errors in Page Header Code Injection:

image.thumb.png.1415308baa58d5caf7b36bd66959ac42.png

If you resolve the issue with the custom code, this should resolve the issue 🙂.

Did this help? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment
Posted (edited)

Thanks so much Paul!

I'm guessing you mean theres an error specifically on the /cart page?

Or would it be the generic code injection in system tools?

What would you recommend as the best option to finding the error?

Edited by Cinthetic
Link to comment
1 hour ago, Cinthetic said:

I'm guessing you mean theres an error specifically on the /cart page? Or would it be the generic code injection in system tools?

It's site-wide via the code injection panel.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.