WordPress.org

Support

Support » How-To and Troubleshooting » How do I remove phantom .php pages showing up in search engine results ?

How do I remove phantom .php pages showing up in search engine results ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The .php pages are probably your old website. But, the site is still there. These pages were created outside of wordpress. they have nothing to do with WordPress.

    Solution:
    1. delete old website pages
    2. use .htaccess to redirect old .php url’s to new WordPress Pages (301 redirect)
    3. after a week or two, check webmaster tools and remove pages again

    Hi Peter, and thanks for the reply.

    I’ve already set up 301 Redirect within WordPress, in fact all of the old .php pages (source page) are currently set up to redirect to the current pages (target page), however it is not working (since the search result still takes you to the old pages).

    How would one delete the old website pages?

    Ftp and delete is probably simplest. Be careful not to delete any wp files.

    Thanks a million Peter – I figured out how to log into FTP, found the old pages and deleted them, problem solved!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I remove phantom .php pages showing up in search engine results ?’ is closed to new replies.
Skip to toolbar