In the past my website was like: www.example.com/?page=games for example, it got crawled and already getting visitors from Google. when I deleted my website and installed wordpress, I activated the friendly URL's so my new pages looks like: www.example.com/category/post-title/post-number but visitors still searching for google and finding my old pages, the problem is that all my old pages leads to the wordpress main page so visitors is coming to me trough /?page=games, /?page=games2 and thats counting my main page as a duplicated content. I want to delete those old pages from Google index and get my new page style indexed, I used Google sitemap but no effect, they still indexed and annoying me. Please help and don't do my mistake, it will kill your SEO.
Consider doing a 301 redirect of those old URL's to the matching URL's in your new setup. That will redirect both search engines and users.
Sorry but if I wanna do that I will have to add the $page include to the index.php of wordpress, and I am afraid that will interfere with wordpress header include. I am already waiting for more then 2 weeks, ant other suggestions or thats the only choice "Waiting".
Hey. I had the exact same problem, some directories on my site, for instance, .com/banana/hello.html and .com/?cat=oranges.php To solve this issue all I did was do a 301 redirect as suggested: redirect 301 /?cat=oranges.php http://www.domain.com/category/oranges/ Code (markup): As simple as that
Yeah, I do, sorry - should of mentioned that in my first post That is assuming you have access to .htaccess? If not - what server/hosting are you on?
Same thing happened to me ... I requested for removal urls using Google Sitemap but Goolge adviced me to use .htaccess to block google bot from crawling.
No, don't use htaccess to block Googlebot crawling. What you *should* have done was - create an XML sitemap of your site with the new structured links, used .htaccess to redirect all old pages to the new pages, then submitted the sitemap to Google. Simple, yet highly efficient.
redirect 301 /?cat=oranges.php http://www.domain.com/category/oranges/ redirect 301 /?cat=mango.php http://www.domain.com/category/mango/ redirect 301 /?cat=pineapple.php http://www.domain.com/category/pineapple/ Try this !!
Can I use wild cards (*) like: redirect 301 /?cat=*.php http://www.domain.com/category/*/ So I don't have to repeat for every page ????