Best way to generate a sitemap.xml file for your WordPress website.

Posted: June 3, 2016. At: 1:35 PM. This was 1 year ago. Post ID: 9216
Page permalink: http://securitronlinux.com/it/best-way-to-generate-a-sitemap-xml-file-for-your-wordpress-website/

The best way to generate a sitemap.xml file for your WordPress website is not to use services like attracta.com that promise huge gains in SEO and do not deliver. It is best to do it yourself. Use a sitemap.xml file that is generated on your own website and lists all of your WordPress posts and pages.

I use the XML sitemaps plugin. https://wordpress.org/plugins/xml-sitemaps/. This plugin automatically generates an xml sitemap in the root of your website directories. All the website owner needs to do is install the plugin and activate it. Then the sitemap will be generated. All that is left to do is edit the robots.txt to include the location of the sitemap as shown below. That is what I have configured and I will wait and see how this effects web traffic. But this has got to be better than using a third party service to manage my sitemap.

Disallow: /wp-content/plugins/
User-Agent: "*"
sitemap: http://www.securitronlinux.com/sitemap.xml

Give this a go on your website and free yourself from useless third party “SEO” snake oil salespeople.

No comments have been made. Use this form to start the conversation :)

Leave a Reply