404s in Google Search Console and javascript
-
The end of April, we made the switch from http to https and I was prepared for a surge in crawl errors while Google sorted out our site. However, I wasn't prepared for the surge in impossibly incorrect URLs and partial URLs that I've seen since then.
I have learned that as Googlebot grows up, he'she's now attempting to read more javascript and will occasionally try to parse out and "read" a URL in a string of javascript code where no URL is actually present. So, I've "marked as fixed" hundreds of bits like
/TRo39,
category/cig
etc., etc....But they are also returning hundreds of otherwise correct URLs with a .html extension when our CMS system generates URLs with a .uts extension like this:
https://www.thompsoncigar.com/thumbnail/CIGARS/90-RATED-CIGARS/FULL-CIGARS/9012/c/9007/pc/8335.html
when it should be:
https://www.thompsoncigar.com/thumbnail/CIGARS/90-RATED-CIGARS/FULL-CIGARS/9012/c/9007/pc/8335.utsWorst of all, when I look at them in GSC and check the "linked from" tab it shows they are linked from themselves, so I can't backtrack and find a common source of the error.
Is anyone else experiencing this? Got any suggestions on how to stop it from happening in the future? Last month it was 50 URLs, this month 150, so I can't keep creating redirects and hoping it goes away.
Thanks for any and all suggestions!
Liz Micik -
Hi Liz,
What I would do as well is go with a solution around your robots.txt to make sure the crawlers will respect it and don't go on a hunch trying to find new URLs that are embedded somewhere else. Usually it's something you shouldn't worry about too much, it's just the crawler doing a good job trying to find more content/URLs on your site.
Martijn.
-
Google Search Console 404s can be very irritating.
What does your robots.txt file currently say?
You can remove all instances of .html in your htaccess file to help solve for this issue. More on that here: https://alexcican.com/post/how-to-remove-php-html-htm-extensions-with-htaccess/
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
What do You Think the Biggest Search Trends will Be in 2020?
Just interested to hear everyone's thoughts. Personally I think that, even though voice search is already pretty big - it's about to get much, much larger and this may even entirely change the infrastructure of the web. What are your thoughts for changes in search 2020?
Algorithm Updates | | effectdigital2 -
Google live blog schema
Live blog markup was rolled out to a selected group of publishers last year 2015. I'm trying to find out whether it has been released to other publishers yet (we are a news site). Not seeing any updates about it anywhere and wondering how I can find out if/when it will be available. This is the latest I can see which is not much help https://developers.google.com/search/pilot/open/live-blogs. Any insider info would be very much appreciated.
Algorithm Updates | | hjsand2 -
Https & Google Updated Guidelines
Hi We have https on aspects of the site which users directly interact with, such as login, basket page. But we don't have https across the whole site. In light of Google adding it to their guidelines - is this something we need to put into action? Also same question on the Accessibility point Ensure that your pages are useful for readers with visual impairments, for example, by testing usability with a screen-reader. Are we going to be penalised if these are not added to our site? Thank you
Algorithm Updates | | BeckyKey0 -
Indexing of Search Pages
I have a question on indexing search pages of an ecommerce or any website. I read Google doesn't recommend this and sites shouldn't allow indexing of their search pages. I recently attended an SEO event (BrightonSEO) and one of the talks was on search pages and how big players like eBay, Amazon do index their search pages. In fact, it is a core part of the pages that are indexed. eBay has to do it, as their product pages are on a time frame and Amazon only allows certain category search pages to be indexed. Reviewing my competitors, they are indexing search pages and this is why they have thousands and millions of web pages indexed. What are your thoughts? I thought search pages were too dynamic (URL strings) and they wouldn't have a unique page title, meta description or rich content to act as a well optimised page. Am I missing a trick here? Cyto
Algorithm Updates | | Bio-RadAbs0 -
Number of Items As a Google Ranking Factor??
If I search for "hiking boots" and scan down the SERPs I see the following... Google reports "483 items" for the Zappos.com page. Google reports "Results 1 - 36 of 85" for the Shoebuy.com page (and that does not appear in their code). So, Google is obviously paying attention to the depth of your information or the number of items that you are showing. If they think that is important enough to count and report in the SERPs, might they also be using that information as a ranking factor?? PRACTICAL APPLICATION FOR SEO: If google is using this information, perhaps people should list all of their color, size, etc variants on a single page. For example if you sell widgets in five colors, instead of making one page for each color, list all five on the same page.
Algorithm Updates | | EGOL1 -
Why Am I Ranking in Bing but Not Google
My website is ranking is ranking in Bing, but it's nowhere to be found on Google? What can be some causes for this?
Algorithm Updates | | locallyrank0 -
How to show your ratings in the Google SERP
I've noticed that some organic search results are showing ratings just above the meta tag. How are these sites doing this? Example: If you search "cash advance", there is a result between #4 and #6 in the organic results. The site is "goldcashadvance.com". It's showing a 5-star rating in the result.
Algorithm Updates | | sparagi0 -
Google Places Rank Replacement
Hi Guys We have recentley done work for a client where they ended up position 1 for their chosen keyword, which was great. Since then there rank has changed and they are now first in google places rank but not on organic search at all, where as before they were on both? Any suggestions on why this may have happened? Not to sure at why google would have replaced the organic rank with the places rank? Cheers Chris
Algorithm Updates | | MiracleCreative0