skip to Main Content

Insert og:image in wordpress – SEO

I have the following hook for facebook's og:image tag. In my template file: <?php do_action('wp_head', $mypost) ?> In my functions file: add_action('wp_head', 'add_fb_og'); function add_fb_og($mypost) { if (isset($mypost["wpcf-bgleft"][0])) { echo '<meta property="og:image" content="'.$mypost["wpcf-bgleft"][0].'" />'; } } What I'm trying to…

VIEW QUESTION

Yoast SEO plug-in removing canonical tag

I am currently using the wordpress seo plugin by yoast, and have run across a problem trying to remove the following tag: rel="canonical" The canonical tag is ok on a page such as blog.com/page/, however, on pages such as blog.com/page/2/…

VIEW QUESTION

WooCommerce Url rewrites – SEO

I've got the same problem described in this post: [WordPress URL rewrite for WooCommerce attributes, except that I need to filter by attribute not only inside a category. Unfortunately, I cannot post a comment before reaching a higher reputation, so…

VIEW QUESTION
Back To Top
Search