Posted by & filed under Code Tips.

If you’ve got a robots.txt file and an XML sitemap, add the following line to robots.txt so that search engine spiders will pick up your sitemap without you having to submit.

Sitemap: http://example.com/sitemap.xml

Of course, change the url to match your actual site.

Leave a Reply

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