-
AuthorPosts
-
September 4, 2018 at 10:05 pm #1005792
Hi Support
I am battling with Google indexing rubbish pages on my enfold theme site: https://vicyourcoach.com/ Here is an example of the rubbish URLS mixed with my valid pages: https://imgur.com/a/GE0Y5Jj
I have tried to resubmit sitemap and also manually removed these URLS but not sure where they are coming from?Here is an example of one: http://vicyourcoach.com/?sku=CD0-001-dumps.html
I have updated theme and wordpress yet issue still exists.
Please advise?
ThanksSeptember 5, 2018 at 1:53 am #1005830Hey srosen,
Thank you for using Enfold.
Did you install the WooCommerce or any other e-commerce/shop plugin? Please try to disallow any url with the “sku” parameter in your robot.txt file.
Disallow: /*?sku=*
More info about robot.txt file: https://moz.com/learn/seo/robotstxt
Best regards,
IsmaelSeptember 5, 2018 at 2:26 am #1005838Hi Ismael
Thanks I included the allow comment in the robots.txt however I am still getting those funny URLS in my search results. I didnt have woocommerce installed but may have had a membership plugin in the past.
Look forward to hearing from you?
Thanks
SaulSeptember 5, 2018 at 10:17 am #1005951Hi,
You have to “disallow” it, not allow. And you have to re-crawl the site.
Best regards,
IsmaelSeptember 5, 2018 at 11:15 am #1006027Thanks and as per this image I have disallowed it? https://imgur.com/a/JM9Ycj8
Look forward to hearing from you
September 5, 2018 at 11:25 am #1006033Hi,
The code seems to be correct now.
Thanks I included the allow comment in the robots.txt however I am still getting those funny URLS in my search results.
Please note the search results in Google won’t go away instantly, this can take several months. In a similiar case the seo expert Yoast wrote “After six months the […] URLs should be gone from the search results.” (see https://yoast.com/media-attachment-urls/ ).
Best regards,
DudeSeptember 5, 2018 at 1:39 pm #1006125Thank again for getting back to me and one of the reasons I bought Enfold as you guys are sharp!
Okay so I noticed whgen I google “vicyourcoach” the funny results dont show only when I google “vicyourvcoach.com” Strange one, so do you think I should just wait for Google to reindex and sort this out?September 5, 2018 at 1:54 pm #1006134I was also wondering if I can create an error 404 page for the funny urls like this one: http://vicyourcoach.com/?sku=JN0-130-dumps.html . thanks?
September 5, 2018 at 2:09 pm #1006138Hi,
do you think I should just wait for Google to reindex and sort this out?
Yes – you can’t “force” Google to remove the search results.
I was also wondering if I can create an error 404 page for the funny urls like this one: http://vicyourcoach.com/?sku=JN0-130-dumps.html . thanks?
You can try to use a redirection plugin like https://wordpress.org/plugins/redirection/ to redirect all http://vicyourcoach.com/?sku= urls to a 404 page. I’d recommend to use a regular expression like:
/?sku=(.*)
to redirect these urls. A good documentation can be found here: https://redirection.me/support/
Best regards,
DudeSeptember 6, 2018 at 2:03 pm #1006601GOOD NEWS, seems those foreign links are now removed from Google Search. Thanks again and keep up the good work with the theme. Look forward to some new demos :)
September 6, 2018 at 2:11 pm #1006609Hi!
Great! Thank you for the kind words :)
Regards,
Peter -
AuthorPosts
- The topic ‘Incorrect Google Index’ is closed to new replies.