• Dear Woo Experts,

    I have a problem please I am worried for this:

    I runned a auditory to my webside. Showed 303.000 errors regarding “Localización: Enlaces de retorno perdidos” in english: “Location: Missing backlinks”. I guess, I don’t know if is same meaning.

    Mostly those error urls are showing urls like structure: My Domain + product + add to cart = 157458

    This is small webside 5 languages, 250 products.

    Any help please?

    Maybe that can be arranged inserting something to htaccess?

    Literally the explanation of this error according the tool is:

    It seems that some pages with hreflang elements either lose own links or do not have backlinks from other language versions of a page. In the table below you can find the list of pages where the link attribute should be added.

    Check other sections of the Localization factors group and make sure there are no problems for Incorrect language codes, Incorrect URLs, Conflicting hreflang elements, Non-canonical pages with hreflang elements.

    Each language version of a page must have hreflang attributes that point to the page itself and also to other language/region versions of the page. It is also required that all language/region versions point to each other in their hreflang attributes.

    Example: there is an English page (en) with 2 other language variants: Russian (ru) and German (de). The head section of the English version (en) must contain 3 hreflang elements: one pointing to the English version and 2 pointing to the Russian (ru) and German (de) pages. The German (de) and Russian (ru) variants must also have 3 hreflang elements that point to the English version, to each other and are also listed in hreflang attributes. Otherwise, if the pages do not point to each other, search engines will ignore their hreflang attributes.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello joaquin2019,

    Thank you for contacting WooCommerce support.

    I understand you’re concerned about the audit results showing “Location: Missing backlinks” errors, particularly for URLs with a structure like “My Domain + product + add to cart.”

    Could you share which tool you used to conduct the audit?
    Also, let me know if you are using any SEO plugin on your site.
    This will help in understanding the context and providing accurate guidance.

    Looking forward to your response. ??

    Best regards.

    Thread Starter joaquin2019

    (@joaquin2019)

    Hi Zubair,

    You can download for free the “WebSite Auditor”

    https://www.link-assistant.com/website-auditor/ – site auditor

    and scan a domain “free version”

    I have the Yoast Seo Pluggin. Also the Instant Indexing

    thanks,

    Plugin Support Jonayed Hosen (woo-hc)

    (@jonayedhosen)

    Hi @joaquin2019 ,

    Thanks for sharing the further details. It seems you’re encountering a lot of errors related to URLs. These URLs are created by WooCommerce’s “Add to Cart” feature, which adds a query parameter like ?add-to-cart=PRODUCT_ID to the URL when a product is added to the cart.

    The issue arises because hreflang tags are being applied to these “Add to Cart” URLs. Hreflang tags are meant to help search engines show users the right language or regional version of a page. However, adding hreflang tags to non-canonical URLs (like ones with ?add-to-cart) can create problems.

    To fix this, you’ll need to prevent “Add to Cart” URLs from being indexed by search engines and from having hreflang tags applied. This can be done by updating your site’s robots.txt file with the following rule:

    User-agent: *  
    Disallow: /*?add-to-cart=*

    This tells all search engines to ignore any URLs containing ?add-to-cart=, keeping them out of search results.

    If you’re using the Yoast SEO plugin, here’s a helpful guide to editing your robots.txt file: How to Edit robots.txt Through Yoast SEO.

    I hope this helps! Let me know if you have any questions or need further assistance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.