Facebook will not link posts – Page not found
-
I upgraded my theme using staging. Now new theme is live and staging deleted. But when I try to link a post in Facebook I get a 404 error because Facebook redirects to the post in staging.
Using Facebook debugger I get this:Fetched URL https://www.inditravel.org/nb/peru-inka-trail-machu-picchu/
Canonical URL
https://www.inditravel.org/staging/5397/nb/peru-inka-trail-machu-picchu/
https://www.inditravel.org/nb/peru-inka-trail-machu-picchu/ (November 17 at 7:34 PM)If I look at source for the post I find:
<link rel=”canonical” href=”https://www.inditravel.org/staging/5397/nb/peru-inka-trail-machu-picchu/”>
So apparently Yoast has inserted this in staging, but not changed it when going live.
I suspect all posts has this.
This can be changed post for post on the SEO-Advanced tab, but that will take its time.
Is it OK here to insert page URL, or should the canonical be deleted? I’m not an expert on SEO.
Anyone know a tool that can fix all 70 posts, or where this is stored in database so I can edit it?The page I need help with: [log in to see the link]
The topic ‘Facebook will not link posts – Page not found’ is closed to new replies.