• Resolved tricknshop1

    (@tricknshop1)


    Hi Yoast,
    I am getting incorrect Canonical Url in my posts like:
    Canonical: https://tricks.nayag.com/?p=11794
    Original : https://tricks.nayag.com/deactivate-jio-caller-tune/
    But above issue exists for visitior only as I see page from Up-admin then, it show correct canonical url. I think it is due to late response by Yoast to cache plugin (Wp Rocket). So, it caches the non processed url in canonical.
    If I deactivate Yoast, Then, No Problem exists.
    Everything was Fine until I updated my Yoast Seo plugin to 19.0 from 17.8. But even after downgrading the issue is not resolved, I think it made some changes to database. I tried resetting each and everything using Yoast Test Helper plugin but Nothing worked.

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

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

    (@maybellyne)

    Hi Tricknshop,

    Thanks for reaching out regarding your canonical URL. You mentioned noticing a different canonical URL than the self-referencing canonical URL. So, I checked the page source and noticed that it’s outputting the page URL as a canonical URL <link rel="canonical" href="https://tricks.nayag.com/deactivate-jio-caller-tune/" />

    Can you please confirm if you have already fixed the problem? If the issue still persists on your end, please clear the cache from caching plugins, the server, a CDN like Cloudflare, or the browser. If you are not sure how to clear cache from a plugin, please contact the plugin author. If you’d like to clear the cache from the server, please speak to your host provider. To clear the cache from a browser, use this guide: How to clear my browser’s cache?

    Do let us know how it goes.

    Plugin Support Maybellyne

    (@maybellyne)

    I can confirm it happens on https://tricks.nayag.com/ppf/. I would have suggested using the Yoast Test Helper plugin but you mentioned earlier you had tried that.

    Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict, is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty.

    Please test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts

    If you do not feel comfortable doing this yourself or if this does not solve your issue, our Yoast SEO Premium plugin comes with one year of (technical) support.

    Thread Starter tricknshop1

    (@tricknshop1)

    1. Is there any way to make Yoast reset as it is fresh install.
    2. Can you please confirm, When Yoast set ?p=postid as canonical url. As if I deactivate Yoast, wordpress itself set canonical which is correct.
    It is yoast which modifies it to ?p=postid as canonical url.
    3. Is it harmful for SEO if I leave it as it is?

    • This reply was modified 3 years, 9 months ago by tricknshop1.
    Plugin Support Maybellyne

    (@maybellyne)

    Since the issue still persists, you can reset the indexables table and migrations:

    1. Install & activate the Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’, and ‘Reset Internal link counter’ buttons. After each click, the page will reload to confirm that the specific reset was successful.
    4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    Does the issue resolve after resetting the optimized data?

    Yoast SEO uses self-referencing canonical URLs; this means it picks the URL of the post as the canonical URL unless you have set a custom URL.

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Wrong Canonical URL with Post Id’ is closed to new replies.