Robots.txt Disallow WP Blog Pages
-
Hi All
On my wp site I have a blog on a different page rather than homepage.
Let’s say my posts appear on site.com/blog
So today I have dozens of posts and my site appears on google with site.com/blog/page/2 site.com/blog/page/3 etc.
My questions is how can I disallow /page/2 /page/3 /page/4 etc. But to allow /blog
Is it correct to write code like this
disallow: /blog/page/
Will it remain /blog open for google bot?
Thank you
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Robots.txt Disallow WP Blog Pages’ is closed to new replies.