2015-05-01, 18:22:03
With get_header(false) the meta canonical tag is not rendered. If not set to false, all news pages (single posts, archives, tag pages...) have the same canonical url: the one of the main news page. This may be bad for SEO.
Another possibility is having the canonical tag on all GS pages except news pages, like:
or if you want to remove it only from single post pages:
Another possibility is having the canonical tag on all GS pages except news pages, like:
Code:
<?php get_header(!nm_is_site()); ?>
or if you want to remove it only from single post pages:
Code:
<?php get_header(!nm_is_single()); ?>