WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
Redirection plugin: Redirect urls like /page/*.* that dont exist to 404 (1 post)

  1. wpplug
    Member
    Posted 2 years ago #

    Hi!
    I ve experienced tons of pages like
    mysite.com/page/120
    mysite.com/page/950
    mysite.com/page/1528
    and more crawled by google even though they dont exist since my website has content of only 4 pages.

    All those pages are indexed by google and since they dont redirect to a 404 page I m sure that google sees them as duplicate content.

    I already edited my robots.txt not to let google crawl any url like mysite.com/page/*.* but I also need to remove all those pages that are already crawled.

    How can I redirect them to 404 ?

    I already imported all those urls into redirect, then grouped them under 404 module and applied a mass 404 redirect from phpmyadmin but even though I can see that redirect shows them under 404 when I type in one of those urls for example
    mysite.com/page/1528
    I still get the old page and not the 404 page which I should get.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic