Robots.txt Disallow WP Blog Pages
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
Will it remain /blog open for google bot?
- The topic ‘Robots.txt Disallow WP Blog Pages’ is closed to new replies.