Google Indexing URLs that Don't Exist

droplister

New member
Aug 23, 2007
1,233
21
0
NYC
This has happened to me on a lot of separate occasions and usually it's for urls like:

domain.com/web-page/?something=ididntmake

I know how to 301 redirect these types of results, but recently I'm seeing pages like this:

domain.com/web-page/1245710467000/ when the actual page is just domain.com/web-page/.

Anyone good at .htaccess or know what I can do in terms of PHP redirects for this issue? No idea what causes it.
 


Hm, if they are params being passed onto a URL which does indeed exist, you could add the canonical meta tag:
Code:
<link rel="canonical" href="http://www.domain.com/page.php" />

Not sure how I'd handle a page that doesn't exist, other than ignoring it.
 
Might be you were haked, or your CMS is not properly displaying 404 errors or putting 404 error in the header. So then someone sends a bunch of backlinks to that webpages, but since it's not 404ing correctly, bam new page being indexed. A rel="canonical" works, and a 301 redirect to the correct page also works.