Web parts are showing up as results in Google, how to fix?

SHANE EBERT asked on January 12, 2017 20:24

Hello! I need some help..

We have a slider on many pages and the element is called our "PMI Image". I noticed today that in google results there is an actual URL ("www.hbs.net/services/pmiimage") associated with this element on the "www.hbs.net/services" page.

What are best practices here?

Do I redirect the /services/pmiimage URL to /services?

I already tried to exclude it from search, but it still shows up in google search results...

Image Text

Other options?

I screen shot the results to better show what the problem is.

Image Text

Thanks for any help!

Recent Answers


Peter Mogilnitski answered on January 12, 2017 20:56 (last edited on January 12, 2017 21:06)

You can always check many links with specific path you have in google index by typing in google search box: site:hbs.net inurl:/pmiimages/

I see 2 urls: www.hbs.net/services/pmiimages www.hbs.net/careers/pmiimages

The problem usually is the duplicated content, because it is identical to the actual page. I'd say permanent 301 redirect should fixed it. You might as well put the canonical URL meta tag, so that www.hbs.net/services/pmiimages has canonical that points to : www.hbs.net/services/ to avoid any penalties.

P.S. If you want them to be completely removed from the google index the fastest way is to return 410 response from you server for these URLs

1 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on January 12, 2017 21:04

A permanent URL will work, but you should also see what is linking to it since a crawler must hit it if it's to be indexed.

Another thing is to submit a google sitemap and exclude these page types, it will help but won't be a full fix.

I'll have to take a look into it.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 12, 2017 21:30

You're best to submit a dynamic google xml sitemap. Also, when you checked the exclude from search, did you check google again right away or did you actually submit the site to be reindexed? You will most likely have to wait until the site is reindexed in order for it to be hidden from google search results.

2 votesVote for this answer Mark as a Correct answer

Ilesh Mistry answered on January 13, 2017 14:18 (last edited on January 13, 2017 14:22)

You can also potentially look at using a Robots.txt file to exclude this content/page if it has a full URL.

Might be useful to put noindex around the content you don't want in the web part markup? Something similar to these links might help?

  • https://perishablepress.com/tell-google-to-not-index-certain-parts-of-your-page/
  • http://stackoverflow.com/questions/15685205/noindex-tag-for-google

If you want to remove a page from Google specific page from Google, this could be an option too

  • https://support.google.com/webmasters/answer/1663419?hl=en

Thanks Ilesh

2 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on January 13, 2017 15:06

Thanks for all the input!

I took a look, the sitemap was submitted a while back where it didn't have the page filter, i'm thinking that Google indexed that which included the bad link. Otherwise there are no links to the page on the site (via Link Slueth check), the Sitemap does not contain that link, and although not explicitly removed in the robots.txt, it shouldn't matter.

We are doing a link removal request, once gone we'll re-index the sitemap and see if it still shows. I'll up vote you all since you all provided great feedback!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.