Canonical url being linked on Facebook rather than real URL. Dynamic OpenGraph tags coming up empty
My website is a jobs website If I share a job at the moment the url could be for example http://jobs.com/jobs/show-job/143/Jobit-flyers-put-up/Other/ But facebook with try to scrape http://jobs.com/jobs/show-job/ because that is the canonical url. This really sucks when someone posts it on facebook because all the OpenGraph tags are empty so the link gets the wrong thumbnail and blank information. Who knows how to fix this? Josh Dean Fixed! Inside the header of the dynamic page you are creating simply user the meta og tag <meta property="og:url" content="<?php get_current_url(); ?>" >