Archived topic
Redirecting home pages
3 replies · Started by ETO on November 12, 2018
Hello,
My homepage was listing blog posts before and because of this, there were pages like http://www.mydomain.com/page/2, http://www.mydomain.com/page/3, etc...
But not, my homepage is a single page without pagination. As Google had indexed many pages of my homepage like http://www.mydomain.com/page/2, http://www.mydomain.com/page/3, I wanted to redirect these pages to http://www.mydomain.com using the redirection plugin as in the screenshot below.
Screenshot: https://www.dropbox.com/s/fj6upt3ihw1yphp/2018-11-13_01-00-47.png?dl=0
However, this redirection also redirect cagetory pages (www.mydomain.com/category-title/page/2 ).
What is wrong with my redirection? I just want to redirect my homepage pages to homepage.
You're targeting /page/*, which applies to that URL everywhere.
Any reason why you're redirecting them instead of just letting Google update their index? You can also request URLs to be removed from search inside your search console.
I see. So, how can I only target URLs on homepage?
That may be a better question for the plugin developer.
You could try entering the full URL: yoursite.com/page/.*