Mobile app version of vmapp.org
Login or Join
Radia820

: ?Referer links in WordPress site getting indexed I have a WordPress site which is more content centric. Today, I found that certain URLs are getting indexed in Google Search results. They look

@Radia820

Posted in: #SpamPrevention #Url #UrlParameters #Wordpress

I have a WordPress site which is more content centric. Today, I found that certain URLs are getting indexed in Google Search results. They look like:
example.com/page/42/?referer=www.wwwdnal.com

The URL is not returning a 404 error but is displaying same content as in:
example.com/page/42/

I checked my entire site and haven't found any such links coming out of my site.

How to get rid of these?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Radia820

2 Comments

Sorted by latest first Latest Oldest Best

 

@Gloria169

Canonical is the correct way as suggested above. I would also remove this parameter from Google webmaster tools (canonical is not a directive but rather a suggestion as far as search engines are concerned, also - removing the parameters from WMT is a speedier solution). In WMT navigate to Crawl > URL Parameters > Configure URL parameters, then edit the referrer parameter to: doesn't affect page content.

10% popularity Vote Up Vote Down


 

@Kevin317

Use canonical URLs for your content pages. Then whenever Google crawls or find a link to one with the referrer in the query string it will automatically associate it with the canonical URL. The canonical URL will be the URL Google shows in the search results. It also prevents your site from appearing to have duplicate content.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme