Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Which is better Robots.txt or Meta Robots Tag?

user-image
Question added by Rameez Bin Abdul Majeed , Digital Marketing Manager , Muscat Higher Education Centre
Date Posted: 2016/12/13
Benita Johnson
by Benita Johnson , MARKETING CONSULTANT , DIGITAL

Both are supported by all crawlers which respect webmasters wishes. Not all do, but against them neither technique is sufficient.

You can use robots.txt rules for general things, like disallow whole sections of your site. If you say Disallow: /family then all links starting with /family are not indexed by a crawler.

Meta tag can be used to disallow a single page. Pages disallowed by meta tags do not affect sub pages in the page hierarchy. If you have meta disallow tag on /work, it does not prevent a crawler from accessing /work/my-publications if there is a link to it on an allowed page.

Davis Parker
by Davis Parker , DIGITAL PROJECT MANAGER , Employers name

On the most basic level, neither the meta robots tag or the Robots.txt has authority over the other – but rather the “noindex” request has authority over the “index” request.

What I’ve suggested to development teams I’ve worked with in the past is to set the Robots.txt file to allow all crawlers, then use the meta robots tag to request that a page not be indexed on a page by page basis. This is easy to remember, easy to update, and makes it easy to avoid conflicts and confusion.

Meta Robots tag is much better as it helps in forcing the search engine crawlers not to index and display the hidden pages in your server.

Farooq Ahmed
by Farooq Ahmed , Senior SEO Manager , Data Ladder

Robots.txt is the file to block certain pages/content from search engines. If you want to block folders or any section of website robots.txt file is the better option.

 

If you want to block some specific pages you can use meta robot tags. In some situation you really need to use these tags for eg. listing pages.

 

Suvik Krishnan
by Suvik Krishnan , Marketing Analyst , AFT Marketing House, Inc

There is no real "MAJOR" difference between the files. They both do the same work however the META tag is not as reliable as the .txt This is because I think (could be wrong) that the Robot.txt is a seperate file. The intention of the file,tag is to inform the search engines ROBOT not to index certain pages. IE Contact us ETC ETC... Hope that helps...

Winona James
by Winona James , Marketing Manager , ABC Media Marketing Partners

Personally I think the meta tag is even more useful than the robots.txt file.

 

The robots.txt file is intended to PREVENT bots from spidering files in the first place.

 

The robots meta tag can in some ways be used to get indexed files deindexed. And it

is more versatile as a tool to 'guide' bots through your website without having them

index all the files.

 

I always put up a robots.txt file BEFORE I upload any of the other files.

Then I fine-tune using the meta tag.

chris adams
by chris adams , DIGITAL MARKETING MANAGER

You can have any one but if your website has plenty of web pages then robots.txt is easy and reduces time complexity

 

Syed Waqas Saghir
by Syed Waqas Saghir , Independent Digital Marketing Consultant , Brainy Bulls

Actually both works differ from each other to some extent & it all depends on the priorities to define the Google Crawler which one to give more priority to the index pages, which one not to.

Kevin Osbern
by Kevin Osbern , Business Development Manager , A&M Corporation

Both serve the same purpose, and it is up to the site owner to chose whichever is convenient. robot.txt would be easier if you want to block specific directories etc. Meta tag could be better if you have lots of pages to be blocked from different directories / without a pattern. Adding a meta tag in the page itself would be easier in such occasions.

Stephany Ross
by Stephany Ross , Brand Manager , VOX

+ robots.txt can stop a robot from attempting to crawl certain URLs

- robots.txt has to have each URL to block listed inside, with some support for wildcards

 

+ <meta> tag can be customized for each page

+ <meta> tag offers more detailed instructions about whether to allow indexing or to allow following links

- <meta> tag has to be managed on each page

- <meta> tag requires the bot to crawl the page so it cannot prevent that from happening

Md Sarwar Alam
by Md Sarwar Alam , Digital Marketing Manager , M A Trading Inc

Robots.txt file is a publicly available file. Anyone can see what sections of your server you don't want robots to use. The Meta tag option tells bots not to index individual files, whereas Robots.txt can be used to restrict access to entire directories. Both are supported by all crawlers.  

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.