Hello,
I don’t want to use the /page/x system (home, tags, and author page)… even if i want to keep 10 posts per page…
I don’t want any page 2 on my website, and this is not good for SEO if we can’t change the description, unique text etc
Or is there a way to change the meta on /page/x ?
< meta name="robots" content="noindex" />
Thanks !
I found a way that seems to work.
Can you confirm that this operation is performed on the server side?
{{#if pagination.prev}}
< meta name="robots" content="noindex" />
{{/if}}
I put it on default.hbs
1 Like
You could also set up redirects with regex, that way they can all be accounted for and redirect viewers back to the main page:
https://ghost.org/docs/api/v3/handlebars-themes/routing/redirects/
1 Like
Nice! I didn’t know we could use regex in the redirects.json file.
My theme use Infinite Scroll, then I think it’s good to have 301 redirects.
Thanks!
Edit :
I changed the redirects.json file to :
[
{
"from": "/page/[0-9]+/" ,
"to": "/",
"permanent": true
}
]
The last problem is that a “next” link is in the < head > section…
Removing the “next” meta tag in the head can be done by editing the theme or by removing it with JavaScript. I believe Google recently started running JavaScript when their bots crawl sites 
1 Like
I think the head next link is in {{ghost_head}}… which is generated by the Ghost core.
It’s maybe better to keep these pages, even if they are not indexed by Google.
Thanks !
1 Like