Tag Archives: nginx

Generate sitemap.xml using WordPress SEO on Nginx

wordpress

By default, XML sitemaps generated by the WordPress SEO plugin are named as sitemap_index.xml. But, by default, sitemaps are named as sitemap.xml. If your WordPress blog is running on Nginx and if you are using the Yoast WordPress SEO plugin, there is a way to access the sitemaps using either /sitemap_index.xml or /sitemap.xml.

Yoast WordPress SEO XML Sitemap Problem on Nginx

wordpress

If you are using WordPress SEO plugin from Yoast to generate XML sitemaps on your WordPress site running on Nginx, the sitemap could be loaded without any style information. This is due to a missing rewrite rule.

Disable Nginx Version Number in HTTP Headers

security

By default, Nginx sends the version number in the HTTP response. Hackers can use this information to try and exploit any known vulnerabilities in Nginx, especially if you are running a version with known vulnerabilities. Security wise, it’s a good practice to not reveal versions numbers of the HTTP server.