Welcome to WPBeginner and thank you for watching.
In today’s video, you’ll learn how to optimize your WordPress robots.txt for SEO. If you are working on your site’s seo, then
knowing how to tweak the robots.txt file will play a role. Search engines look for your xml sitemap in
the robots.txt file so it’s important to have one for them. It’s usually in the root folder for your site
and you can get to it either by using an ftp client or just accessing it through your cpanel
file manager. Here is a sample robots.txt file. Here we’re saying that all bots can index our upload folder, but not our plugins folder nor the readme file. Below this area, we’ll add links to the sitemap
so the bots know where to what all to index which should help with seo. If you like this video click on the like button and go ahead and leave us a comment there, we’d love to hear from you. And subscribe to our Youtube channel to get the latest videos.