search-engine-robots-magento-2-seo

How to Configure Magento 2 Robots.txt with Easy Steps?

Posted by

Magento 2 Robots.txt? Have you ever heard of it?

It is necessary for a site to be indexed by search engines like Google or Bing so that it can serve this site in SEO better. Search Engine Robots, which is Magento 2 robots.txt, can be considered as a powerful tool in Magento 2 SEO.

Web crawlers and bots take responsibility for indexing a site and they consist of settings in the Magento configuration with the purpose of producing and controlling instructions.

search-engine-robots

>>> Read Later: Magento Elasticsearch Tutorial – A Full Comprehensive Guide!

In the root of Magento installation, robots.txt file has the role of saving the instructions and most search engines recognize and follow those instructions as well.

In default, Magento produces the robots.txt file with instructions so that web crawlers are able to avoid indexing several parts of the site with files that the system utilizes internally. You are free to select instructions for all or specific search engines based on default or demand.

Instructions to Configure Magento 2 robots.txt:

1. Click Stores on the Admin sidebar. Select Configuration under Settings.

2. Select Design under General on the left and in the panel.

global-design-configuration

>>> Don’t Miss This: Tutorial of Customizing Magento Catalog Search!

3. Enlarge the Search Engine Robots section then follow instructions:

 

search-engine-robots
Magento 2 Robots.txt

>>> Check It Out: A Detailed Introduction of Popular Magento Search Terms You Should Know!

a. Establish Default Robots as one of the following:

  • INDEX, FOLLOW: guide web crawlers to be able to index the site and examine later for any new changes.
  • NOINDEX, FOLLOW: guide web crawlers to be able to avoid indexing the site but still examine any new changes.
  • INDEX, NOFOLLOW: guide web crawlers to be able to index the site only one time and no need to check back again.
  • NOINDEX, NOFOLLOW: guide web crawlers to be able to avoid indexing the site and not to examine any new changes.

b. You also can enter custom instructions into the Edit Custom instruction of robots.txt file box as wish.

c. Click Reset to Default if you want to restore the default instructions

4. Save Config when you finish.

Conclusion

magento-search-engine-robots

>>> Have A Look Here: More Magento tutorials for e-commerce sites!

In conclusion, if you want to have a better SEO performance, it is necessary to configure Magento 2 robots.txt, or enable search engine robots. In this way, your website will have a higher rank on search engines; hence, you can easily drive traffic to your site.

If you need further information or you want to share about Magento 2 robots.txt, please feel free to contact us. We’re glad to hear your ideas.

Thanks a lot for reading!

2 comments

Leave a Reply

Your email address will not be published. Required fields are marked *