آیکن XML Sitemap Generator for Google
افزونه رایگان نسخه 4.1.25

XML Sitemap Generator for Google

توسعه‌دهنده: Auctollo

توضیحات

Generate multiple types of sitemaps to improve SEO and get your website indexed quickly.

تغییرات این نسخه

4.1.25 (2026-09-18)

Fixed “XML parsing error: XML or text declaration not at the beginning of the entity” on sitemap.xml. If a theme or another plugin printed anything before the sitemap started — a blank line after a closing PHP tag, a UTF-8 BOM, a debug notice — it landed in front of the XML declaration and the whole document failed to parse. That output is now discarded before the sitemap is sent. This works where the stray output is still held in a PHP output buffer, which is the usual case; if your server runs with output_buffering disabled the output has already left for the browser before the plugin can act, and the offending blank line or BOM has to be removed from the file that emits it.

Fixed the plugin overwriting robots.txt rules added by WordPress and other plugins. The robots.txt filter replaced the whole file body, so WooCommerce’s Disallow lines (wc-logs, woocommerce_uploads, add-to-cart) and any custom rules were silently dropped, and sites with “Discourage search engines” enabled were left with a bare “Disallow: /”. Rules are now additive: existing directives are preserved, and the redundant non-standard “Disallow: /” and “Disallow: /?” lines are gone. With “Discourage search engines” on, the “Disallow: /” is added to every user-agent group in the file rather than only to the “User-agent: *” one — a crawler that your robots.txt names specifically follows its own group and ignores the wildcard, so fencing only the wildcard would have left those crawlers fre