This file is very simple. It must be located at the root of your site and be called robots.txt; but there is nothing easier to add because we'll do this using a very popular plugin: Yoast
We'll configure this plugin in a later recipe, but as it is installed it will be ready to use.
Recipe No.13 Invest in an SEO kitchen robot, it's not a luxury!
Description
This file is very simple. It must be located at the root of your site and named robots.txt; but it's just as easy to add because we'll do it using a very popular plugin: Yoast. We'll configure that plugin in a later recipe, but once installed it's ready to use.Ingredients
Instructions
- Install the Yoast SEO plugin
- Activate it, then go to the new SEO menu that appeared on the left and at the top of your dashboard.
- Click on General settings, then on the Features tab
- In the list, set the XML Sitemaps feature to Enabled