• I checked and my Site link is canonical, checked site homepage source code so I found my home page

    
     <link rel="canonical" href="https://exacmple.com/" /><link rel="next" href="https://example.com/page/2/" />
    

    but I want it to not be like domain.com but instead https://www.domain.com with https.
    not only this my Posts also facing the same issue, I tried a lot but wasnt able to fix it, I want to know way through which I could fix it, I am using Yoast Plugin and I know I can do it through advance Tab for Posts but I dont want that way, is there way which can fix it all at onece? And how can I do it?
    Please let me know

    • This topic was modified 4 years, 9 months ago by Yui. Reason: please use CODE button for code formatting
    • This topic was modified 4 years, 9 months ago by Yui. Reason: redundant link(s) deleted
    • This topic was modified 4 years, 9 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    You want the www as part of the canonical link, right? And the www exists in your site and home URL settings? It looks that way, it’s odd the canonical link does not. Something is overriding default behavior. If this is done through the “get_canonical_url” filter, you could add a bit of custom code to override the override. But it’d be better to not have the override to start with.

    Verify which plugin is doing this by selectively deactivating plugins and maybe switching themes. Start with Yoast, the most likely candidate. Once the cause is identified, ask through that module’s dedicated support channel for suggestions on how to resolve this. There could be a simple setting we’re unaware of.

    Thread Starter freshfounder

    (@freshfounder)

    I am using Colormag theme on my Blog and I tired Canonical Links in Yoast SEO through Advance tag, in that way it worked for me for the post but Homepage still facing same issue & old posts as well.
    Can this be a theme issue or a Plugin issue? and why

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Fix Canonical issue for my Site’ is closed to new replies.