(2016-02-16, 03:40:22)Carlos Wrote:(2016-02-15, 09:49:10)morvy Wrote: @Carlos: excellent, I use get_header(false); + get_canon_url(); custom function just for canonical link, but finally it works as it should with all my News Manager pages (including opengraph stuff). Thanks!
You're welcome.
However, news pages ?page=2, /page/2, etc. still don't have the correct canonical url.
Do you think it would be better to simply not render it, in those pages?
@carlos : /page/2, /page/3 have a canonical URL with parent URL but it's a nice solution from a SEO point of view
The most important point is to add, in the header (<head></head>), the rel="prev" and rel="next" tag (cf. https://support.google.com/webmasters/answer/1663744) and to add a meta robots noindex, follow tag on theses pages.
Do you think it's possible ? Like some Wordpress Plugin like Yoast can do.
regards