Connect with us

SEO

Does Google Have A Problem With Big Robots.txt Files?

Published

on

Does Google Have A Problem With Big Robots.txt Files?


Google addresses the subject of robots.txt files and whether it’s a good SEO practice to keep them within a reasonable size.

This topic is discussed by Google’s Search Advocate John Mueller during the Google Search Central SEO office-hours hangout recorded on January 14.

David Zieger, an SEO manager for a large news publisher in Germany, joins the livestream with concerns about a “huge” and “complex” robots.txt file.

How huge are we talking here?

Zieger says there’s over 1,500 lines with a “multitude” of disallows that keeps growing over the years.

The disallows prevent Google from indexing HTML fragments and URLs where AJAX calls are used.

Zieger says it’s not possible to set a noindex, which is another way to keep the fragments and URLs out of Google’s index, so he’s resorted to filling the site’s robots.txt with disallows.

Advertisement

Are there any negative SEO effects that can result from a huge robots.txt file?

Here’s what Mueller says.

SEO Considerations For Large Robots.txt Files

A large robots.txt file will not directly cause any negative impact to a site’s SEO.

However, a large file is harder to maintain, which may lead to accidental issues down the road.

Mueller explains:

“No direct negative SEO issues with that, but it makes it a lot harder to maintain. And it makes it a lot easier to accidentally push something that does cause issues.

So just because it’s a large file doesn’t mean it’s a problem, but it makes it easier for you to create problems.”

Zieger follows up by asking if there are any issues with not including a sitemap in the robots.txt file.

Mueller says that’s not a problem:

Advertisement

“No. Those different ways of submitting a sitemap are all equivalent for us.”

Zieger then launches into a several more follow-up questions that we’ll take a look at in the next section.

Does Google Recognize HTML Fragments?

Zieger asks Mueller what would be the SEO impact of radically shortening the robots.txt file. Such as removing all the disallows, for example.

The following questions are asked:

  • Does Google recognize HTML fragments that aren’t relevant to site visitors?
  • Would HTML fragments end up in Google’s search index if they weren’t disallowed in robots.txt?
  • How does Google deal with pages where AJAX calls are used? (Such as a header or footer element)

He sums up his questions by stating most of what’s disallowed in his robots.txt file are header and footer elements that aren’t interesting for the user.

Mueller says it’s difficult to know exactly what would happen if those fragments were suddenly allowed to be indexed.

A trial and error approach might be the best way of figuring this out, Mueller explains:

“It’s hard to say what you mean with regards to those fragments

My thought there would be to try to figure out how those fragment URLs are used. And if you’re unsure, maybe take one of these fragment URLs and allow its crawling, and look at the content of that fragment URL, and then check to see what happens in search.

Does it affect anything with regards to the indexed content on your site?
Is some of that content findable within your site suddenly?
Is that a problem or not?

And try to work based on that, because it’s very easy to block things by robots.txt, which actually are not used for indexing, and then you spend a lot of time maintaining this big robots.txt file, but it actually doesn’t change that much for your website.”

Advertisement

Other Considerations For Building A Robots.txt File

Zieger has one last follow-up regarding robots.txt files, asking if there are any specific guidelines to follow when building one.

Mueller says there’s no specific format to follow:

“No, it’s essentially up to you. Like some sites have big files, some sites have small files, they should all just work.

We have an open source code of the robots.txt parser that we use. So what you can also do is get your developers to run that parser for you, or kind of set it up so that you can test it, and then check the URLs on your website with that parser to see which URLs would actually get blocked and what that would change. And that way you can test things before you make them live.”

The robots.txt parser Mueller refers to can be found on Github.

Hear the full discussion in the video below:


Featured Image: Screenshot from YouTube.com/GoogleSearchCentral, January 2022.

if( typeof sopp !== "undefined" && sopp === 'yes' ){ fbq('dataProcessingOptions', ['LDU'], 1, 1000); }else{ fbq('dataProcessingOptions', []); }

fbq('init', '1321385257908563');

fbq('track', 'PageView');

fbq('trackSingle', '1321385257908563', 'ViewContent', { content_name: 'does-google-have-a-problem-with-big-robots-txt-files', content_category: 'news seo ' });



Source link

SEO

Google’s Helpful Content & Core Updates [Webinar]

Published

on

Google's Helpful Content & Core Updates [Webinar]

Google recently rolled out a new core update and the Helpful Content update. But what does that mean for your business?

How can you tweak your content and SEO strategies so that they properly align with the latest algorithm changes?

With Google now prioritizing user experience, it’s important to publish content that’s helpful to humans and relevant to their search queries.

Though this update has challenged many companies and made the content creation process more complex, there are certainly ways your website can still thrive online.

The key is finding the right balance between search engine compliance and customer satisfaction.

Join me and Dave Snyder, CEO and Founder of CopyPress, as we discuss ways you can adjust your content production to improve search rankings and maximize results.

In this webinar, you’ll discover:

  • How to create Helpful Content for Google.
  • How to scale authority and build subject matter experts as part of your production cycle.
  • Ways to recover if you’ve been dinged by Google.

You’ll learn how to create better content with authority that complies fully with Google’s revised Helpful Content guidelines.

Whether you have a small website or need to scale your content production, you’ll learn how you can create and implement a content strategy that keeps Google happy and fulfills your customers’ needs for compelling, helpful content.

Advertisement

By the end of this webinar, you’ll be equipped with all the information you need to adapt your content strategy for success on Google.

Can’t make the live session? Register now, and we’ll send you a recording after the event.

Source link

Continue Reading

DON'T MISS ANY IMPORTANT NEWS!
Subscribe To our Newsletter
We promise not to spam you. Unsubscribe at any time.
Invalid email address

Trending

en_USEnglish