2017-04-15, 01:30:05
(This post was last modified: 2017-04-15, 01:54:18 by carpman.
Edit Reason: Clarification
)
Hi Carlos
Thanks, that's useful. Forgive me as I'm a little tired, but I think in my case that's not necessary. The way I'm using News Manager is as a filter, so I'm using 2 different template files:
The output / results page (based on tags) is the News Manager root, and it uses:
Then you click on one of the "results" (i.e. "read more ..." link to post) and that takes you to the post which uses a different template which has:
To see what I mean, go here:
http://scramblekit.uk/review/
Clicking on the Baselayer Square, gives you:
http://scramblekit.uk/review/?id=outdoor&tag=base
A list of tagged posts (with read more ...), then you click on the option you're after, e.g. "Best Cold Weather Baselayer" which would take you here:
http://scramblekit.uk/review/index.php?i...yer-ls-top
I'm trying to get my head round how Google deals with this. Have I got this right for my use case? So the "results output" preview post (tag output) list is canonical and the actual full post unique URL (is not canonical).
That code will be useful for my other sites, but perhaps not this one?
Thanks again for the quick reply and for the code. Any clarification would put this to bed, and me too, then I can enjoy the weekend.
C.
EDIT: My light-headed understanding, is that I'm pretty much mimicking the code options you gave above by using 2 templates One for single posts and the other for the News Page.
Thanks, that's useful. Forgive me as I'm a little tired, but I think in my case that's not necessary. The way I'm using News Manager is as a filter, so I'm using 2 different template files:
The output / results page (based on tags) is the News Manager root, and it uses:
Code:
<?php get_header(); ?>
Then you click on one of the "results" (i.e. "read more ..." link to post) and that takes you to the post which uses a different template which has:
Code:
<?php get_header(false); ?>
http://scramblekit.uk/review/
Clicking on the Baselayer Square, gives you:
http://scramblekit.uk/review/?id=outdoor&tag=base
A list of tagged posts (with read more ...), then you click on the option you're after, e.g. "Best Cold Weather Baselayer" which would take you here:
http://scramblekit.uk/review/index.php?i...yer-ls-top
I'm trying to get my head round how Google deals with this. Have I got this right for my use case? So the "results output" preview post (tag output) list is canonical and the actual full post unique URL (is not canonical).
That code will be useful for my other sites, but perhaps not this one?
Thanks again for the quick reply and for the code. Any clarification would put this to bed, and me too, then I can enjoy the weekend.
C.
EDIT: My light-headed understanding, is that I'm pretty much mimicking the code options you gave above by using 2 templates One for single posts and the other for the News Page.