• Resolved principiante

    (@principiante)


    We have a website featuring dynamic content sourced from a real estate platform, resulting in pages with URLs like https://movidek.com/dpcv/property/?ref=R4161460 (this is development page for tests) With around 8000 properties, each of these pages was set with the same canonical URL, likely by default, as https://movidek.com/dpcv/property/. However, this URL leads to a single property template page, which contains only the header and footer.

    This setup essentially tells search engine crawlers that the canonical URL for all 8000 properties is an empty page. Consequently, tools like Screaming Frog categorize these properties as “non-indexable” due to the incorrect canonical URL.

    To rectify this, we need to remove the <link rel=”canonical” href=”https://movidek.com/dpcv/property/&#8221; /> tag from single properties pages. While I’ve come across @maybellyne’s post suggesting leaving the canonical URL unchanged, I’m inclined to believe that this approach is detrimental. Our Search Console data supports this, as none of the 8000 properties are indexed.
    All recomendations are welcome!






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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @principiante

    Thanks for using the Yoast SEO plugin. It’s recommended to leave the canonical URL field blank so the plugin can automatically use the page URL as the canonical URL. It applies to most websites.

    I understand this might not apply in your case so, to change the canonical URL that Yoast SEO generated for a URL programmatically, you can use the?wpseo_canonical?filter. You can learn more here

    Thread Starter principiante

    (@principiante)

    Thank you Maybellyne,
    Yes, we left canonical field blank, but checking canonical url of properties, it was always the same, template url https://movidek.com/dpcv/property/.
    We already try to add
    add_filter( ‘wpseo_canonical’, ‘__return_false’ );
    to functions.php of child theme…but canonicals didn’t desapear:
    <link rel=”canonical” href=”https://dpc-costadelsol.com/property/” class=”yoast-seo-meta-tag” />
    Even after uninstall yoast, clearing all cache, canonical was still apearing in source code, but now without class=”yoast-seo-meta-tag”
    <link rel=”canonical” href=”https://dpc-costadelsol.com/property/” />
    Other 2 codes mentioned here:
    https://developer.yoast.com/features/seo-tags/canonical-urls/api/
    Also didn’t work.
    Do you have some other solution?
    Thank you!




    Plugin Support Maybellyne

    (@maybellyne)

    Since the canonical URL persists after uninstalling our plugin, that output isn’t from us. You may perform a conflict check to identify the source.

    Thread Starter principiante

    (@principiante)

    Couldnt remove canonical tag with
    add_filter( ‘wpseo_canonical’, ‘__return_false’ );
    as you suggest
    But was disapeard with:
    add_filter( ‘wpseo_canonical’, ‘__return_false’, 100 );

    Thank you for your time

    Plugin Support Mushrit Shabnam

    (@611shabnam)

    Hi @principiante

    You mentioned canonical URL disappeared when you added the priority. I have checked the page source of the page dpcv/property/ and I also noticed the canonical doesn’t exist anymore in the source code.

    Plugin Support Jose Varghese

    (@josevarghese)

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

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