Generate XML, HTML, RSS sitemaps for your website with ease using the Google XML Sitemap Generator. This plugin enables you to improve your SEO rankings by creating page, news, video, HTML, and RSS sitemaps. It also supports custom post types and taxonomies, allowing you to ensure that all of your content is being indexed by search engines. With a user-friendly interface, you can easily configure the plugin to suit your needs and generate sitemaps in just a few clicks. Keep your website up-to-date and make sure that search engines are aware of all of your content by using the Google XML Sitemap Generator.
The plugin supports all kinds of WordPress generated pages as well as custom URLs. Additionally it notifies all major search engines every time you create a post about the new content.
Supported for more than a decade and rated among the best, it will do exactly what it’s supposed to do – providing a complete XML sitemap for search engines!
If you like the plugin, feel free to rate it! 🙂
Good news, this plugin is free for everyone! Since it’s released under the GPL, you can use it free of charge on your personal or commercial site.
Plugin je dodávaný s rôznymi prekladmi, pozrite si WordPress Codex pre ďalšie informácie o inštalácií prekladu. Ak chcete pomôcť preložiť plugin do vášho jazyka, pozrite si súbor sitemap.pot, ktorý obsahuje všetky definície a môžete použiť gettext editor alebo Poedit (Windows).
- Deactivate or disable other sitemap generators.
- Nainštalujte plugin tak, ako všetky ostatné pluginy, a to buď jeho nahraním cez FTP alebo pomocou funkcie „Pridať plugin“ v administrácií WordPress.
- Aktivujte plugin na stránke pluginov v administrácií stránky.
- Ak chcete: Otvorte stránku konfigurácie doplnkov, ktorá sa nachádza pod položkou Nastavenia -> XML-Sitemap a prispôsobte nastavenia ako priority a frekvencie zmien.
- Plugin automaticky aktualizuje váš sitemap, keď publikujete príspevok, takže nič viac nemusíte robiť 🙂
How do I generate a sitemap for my website?
To generate a sitemap for your website, follow these steps:
- Install and activate the Google XML Sitemap Generator plugin on your WordPress site.
- Once activated, the plugin will automatically generate a sitemap.xml file for your website.
- You can access the sitemap by appending
/sitemap.xmlto your website’s URL (e.g., https://example.com/sitemap.xml).
- Submit your sitemap to search engines like Google, Bing, Yandex, and Baidu to ensure that your site is indexed and crawled properly.
How do I submit my sitemap to search engines?
- Go to the Google Search Console and sign in with your Google account.
- Click on the „Sitemaps“ tab and enter the URL of your sitemap.xml file (e.g., https://example.com/sitemap.xml).
- Click on „Submit“ to submit your sitemap to Google.
- Repeat the process for other search engines like Bing, Yandex, and Baidu.
How often should I update my sitemap?
It’s recommended that you update your sitemap whenever you make significant changes to your website’s content or structure. This will ensure that search engines are aware of any new pages or changes to existing pages on your site.
What types of sitemaps does the plugin generate?
The Google XML Sitemap Generator plugin can generate sitemaps in XML, HTML, RSS formats and in various types, including: Pages/Posts, Google News, Video, Image, Mobile, and more! Note: Some formats and types are only available to subscribers.
Can I include images and videos in my sitemap?
Yes, you can include images and videos in your sitemap using the Google XML Sitemap Generator plugin. This will help search engines like Google and Bing to crawl and index your media files more efficiently.
How does the plugin work with WooCommerce?
The Google XML Sitemap Generator plugin is compatible with WooCommerce and can generate sitemaps for your online store’s product pages, categories, and tags. This will help search engines to index your products and improve your store’s visibility in search results.
Can I customize the robots.txt file using this plugin?
Yes, you can customize the robots.txt file using the Google XML Sitemap Generator plugin. This will allow you to control which pages and directories search engines can crawl and index on your site.
Does this plugin support the Google Site Kit?
Yes, the Google XML Sitemap Generator plugin is compatible with the Google Site Kit. This will allow you to track your site’s performance in Google Search Console and Google Analytics directly from your WordPress dashboard.
Does this plugin support schema markup?
Yes, the Google XML Sitemap Generator plugin supports schema markup, which can help improve your site’s visibility in search results by providing more information about your content to search engines.
Kde nájdem stránku nastavení pluginu?
Nájdete ju v sekcií Nastavenia > XML Sitemap. Viem že dnes už mnohé pluginy pridávajú položky najvyššej úrovne, ale vo väčšine prípadov to je nepotrebné. Videl som inštalácie WordPress, ktoré vyzerali ako Internet Explorer s nainštalovanými 20 panelmi nástrojov 😉
Používa tento plugin statické súbory alebo „Nemôžem nájsť súbor sitemap.xml!“
Už nie. Od verzie 4 sú tieto súbory dynamicky generované rovnako ako akýkoľvek iný obsah aplikácie WordPress.
Ešte nie sú žiadne komentáre (alebo som ich zakázal) a všetky moje príspevky majú prioritu nula!
Zakážte automatický výpočet priorít a definujte statickú prioritu príspevkov.
Mnoho možností konfigurácie… Potrebujem ich zmeniť?
Nie, len ak chcete. Predvolené hodnoty sú pre väčšinu lokalít v poriadku.
Moja otázka tu nie je zodpovedaná
Please post your question at the WordPress support forum.
Prispievatelia a vývojári
“XML Sitemap Generator for Google” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.Prispievatelia
- Added last modified date to category sitemaps
- Added min and max option for number of posts per sitemap
- Added support for local links in sitemap for different languages
- Fixed an error in sitemap file name conventions
- Fixed an issue with disabling conflicting sitemap generators
- Improved security with authentication and plugin management anchors
- Fixed warning error displayed when Yoast SEO is not installed/active
- Improved various UI elements and notifications
- Fixed browser console errors
- Fixed null value in set_time_limit
- Fixed version compatibility thresholds
- Improved user interface
- Added support for automatic updates
- Improved beta program notifications and workflow to comply with guidelines
- Improved various UI elements
- Added Beta testing program
- Added check for disabled PHP functions
- Fixed handling of taxonomies containing hyphens
- Fixed custom taxonomy unit generation issue
- Fixed plugin deactivation notice
- Fixed mishandling of empty categories
- Fixed _url undefined notice error
- Fixed error when build_taxonomies throws a fatal error when accessing sub-sitemap without pagination
- Improved handling of line breaks e.g. showing
tag without escaping HTML
- Improved handling of the Google TID field optional to ping Google
- Improved documentation, given some renaming of the methods
- Added support for paginated sitemap posts, pages, and product links
- Added conditional statements to prevent rewrite rules from being checked every time the sitemap loads
- Fixed code regressions moving from git to svn (preventing recent fixes from being available)
- Fixed the issue of PHP warnings
- Fixed links per page issue
- Improved WordPress 6.0 compatibility
- Added backward compatibility settings
- Changed Google Tracking ID field to optional
- Fixed PHP warnings
- Fixed security issue related to Cross-Site Scripting attacks on debug page
- Fixed HTTP error while generating sitemap (because of conflict of www and now www site)
- Fixed handling WordPress core sitemap entry from robots.txt
- Added option to flush database rewrite on plugin deactivation
- Added option to split the custom categories into multiple sitemaps by custom taxonomy
- Added option to omit the posts specified as disallow in robots.txt
- Added option to set links per page for tags and categories
- Added option to set a custom filename for the sitemap
- Added option to list custom post in the archive sitemap
- fix security issue related to Cross-Site Scripting attacks on debug page
- fix HTTP error while generating sitemap (because of conflict of www and now www site)
- fix handles the removal of WordPress native sitemap entry from robots.txt
- added option for flush database rewrite on deactivate plugin
- added options for split the custom categories into multiple sitemap by custom taxonomy
- added options to omit the posts which added in robots.txt to disallow
- added option to set links per page for tags and categories
- added option for provide the custom name for the sitemap.xml file
- added option for custom post type’s list into the archive sitemap
- added support of manage priorities and frequencies for products category
- Fixed security issue related to escaping external URLs
- Fixed security issue related to option tags in forms
- Fixed security issue related to donation functionality.
- Fixed bug regarding the exclude categories feature, thanks to Claus Schöffel!
- Sorry, no new features this time… This release only updates the Compatibility-Tag to WordPress 4.0. Unfortunately there is no way to do this anymore without a new version
- Better compatibility with GoDaddy managed WP hosting
- Better compatibility with QuickCache
- Removed WordPress version from the sitemap
- Corrected link to WordPress privacy settings (if search engines are blocked)
- Changed hook which is being used for sitemap pings to avoid pings on draft edit
- Added option to disable automatic gzipping
- Fixed bug with duplicated external sitemap entries
- Don’t gzip if behind Varnish since Varnish can do that
- Added function to manually start ping for main-sitemap or all sub-sitemaps
- Added support for changing the base of the sitemap URL to another URL (for WP installations in sub-folders)
- Fixed issue with empty post sitemaps (related to GMT/local time offset)
- Fixed some timing issues in archives
- Improved check for possible problems before gzipping
- Fixed empty archives and author sitemaps in case there were no posts
- Fixed bug which caused the Priority Provider to disappear in recent PHP versions
- Plugin will also ping with the corresponding sub-sitemap in case a post was modified
- Better checking for empty external urls
- Changed text in XSL template to be more clear about sitemap-index and sub-sitemaps
- Changed content type to text/xml to improve compatibility with caching plugins
- Changed query parameters to is_feed=true to improve compatibility with caching plugins
- Switched from using WP_Query to load posts to a custom SQL statement to avoid problems with other plugin filters
- Added caching of some SQL statements
- Added support feed for more help topics
- Added link to new help page
- Cleaned up code and renamed variables to be more readable
- Updated Japanese Translation, thanks to Daisuke Takahashi
- Removed deprecated get_page call
- Changed last modification time of sub-sitemaps to the last modification date of the posts instead of the publish date
- Removed information window if the statistic option has not been activated
- Added link regarding new sitemap format
- Updated Portuguese translation, thanks to Pedro Martinho
- Updated German translation
- Fixed compression if an gzlib handler was already active
- Help regarding permalinks for Nginx users
- Fix with gzip compression in case there was other output before already
- Return 404 for HTML sitemaps if the option has been disabled
- Updated translations
- Fixed warning if an gzip handler is already active
- Fixed bug with custom post types including a „-„
- Fixed some 404 Not Found Errors
- No static files anymore, sitemap is created on the fly!
- Sitemap is split-up into sub-sitemaps by month, allowing up to 50.000 posts per month! More information
- Support for custom post types and custom taxonomis!
- 100% Multisite compatible, including by-blog and network activation.
- Reduced server resource usage due to less content per request.
- New API allows other plugins to add their own, separate sitemaps.
- Note: PHP 5.1 and WordPress 3.3 is required! The plugin will not work with lower versions!
- Note: This version will try to rename your old sitemap files to *-old.xml. If that doesn’t work, please delete them manually since no static files are needed anymore!
- Compatibility with mysqli
Version 3.4 (2013-11-24)
- Fixed deprecation warnings in PHP 5.4, thanks to Dion Hulse!
- Fixed problem with file permission checking
- Filter out hashs (#) in URLs
- Fixed security issue with change frequencies and filename of sitemap file. Exploit was only possible with admin account.
- Fixed wrong custom taxonomy URLs, thanks to ramon fincken of the wordpress.org forum!
- Removed ASK ping since they shut down their service.
- Exclude post_format taxonomy from custom taxonomy list
- Fixed custom post types, thanks to clearsite of the wordpress.org forum!
- Fixed broken admin layout on WP 3.4
- Removed YAHOO ping since YAHOO uses bing now
- Removed deprecated function call
- Backported Bing ping success fix from beta
- Added friendly hint to try out the new beta
- Added (GMT) to date column in sitemap xslt template to avoid confusion with different time zones
- Fixed wrong SQL statement for author pages, thanks to twoenoug
- Fixed several deprecated function calls
- Note: This release does not support the new multisite feature of WordPress yet and will not be active when multisite is enabled.
- Fixed that all pages were missing in the sitemap if the “Uncategorized” category was excluded
- Updated compatibility tag to WordPress 2.9
- Fixed PHP4 problems
- Notes and update messages at the top of the admin page could interfere with the manual build function
- Help links in the WP contextual help were not shown anymore since the last update
- IE 7 sometimes displayed a cached admin page
- Removed invalid link to config page from the plugin description (The link lead to a „Not enough permission error“)
- Improved performance of getting the current plugin version by caching
- Updated Spanish language files
- Added function to show the actual results of a ping instead of only linking to the url
- Added new hook (sm_rebuild) for third party plugins to start building the sitemap
- Fixed bug which showed the wrong URL for the latest Google ping result
- Added some missing documentation
- Removed hardcoded php name for sitemap file in admin urls
- Uses KSES for showing ping test results
- Ping test fixed for WP < 2.3
- Fixed MySQL Error if author pages were included
- Improved custom taxonomy handling and fixed wrong last modification date
- Fixed fatal error in WordPress versions lower than 2.3
- Fixed Update Notice for WordPress 2.8 and higher
- Added warning if blog privacy is activated
- Fixed priorities of additional pages were shown as 0 instead of 1
- Added support for custom taxonomies. Thanks to Lee!
- Fixed PHP error “Only variables can be passed by reference”
- Fixed wrong URLS of multi-page posts (Thanks artstorm!)
- Updated many language files
- Added option to completely disable the last modification time
- Fixed problem with HTTPS url for the XSL stylesheet if the sitemap was build via the admin panel
- Improved handling of homepage entry if a single page was set for it
- Fixed mktime warning which appeared sometimes
- Fixed bug which caused inf. reloads after rebuilding the sitemap via the admin panel
- Improved handling of missing sitemaps files if WP was moved to another location
- Fixed bug which broke all pings in WP older than 2.7
- Added more output in debug mode if pings fail
- Moved global post variable so other plugins can use it in get_permalink()
- Added small icon for ozh admin menu
- Added more help links in UI
- Changed MSN Live Search to Bing
- Exclude categories also now exludes the category itself and not only the posts
- Pings now use the new WordPress HTTP API instead of Snoopy
- Fixed bug that in localized WP installations priorities could not be saved
- The sitemap cron job is now cleared after a manual rebuild or after changing the config
- Adjusted style of admin area for WP 2.8 and refreshed icons
- Disabled the “Exclude categories” feature for WP 2.5.1, since it doesn’t have the required functions yet
- Changed the way the stylesheet is saved (default / custom stylesheet)
- Sitemap is now rebuild when a page is published
- Removed support for static robots.txt files, this is now handled via WordPress functions
- Added compat. exceptions for WP 2.0 and WP 2.1
- Fixed redirect issue if wp-admin is rewritten via mod_rewrite, thanks to macjoost
- Fixed wrong path to assets, thanks PozHonks
- Fixed wrong plugin URL if wp-content was renamed / redirected, thanks to wnorris
- Updated WP User Interface for 2.7
- Various other small things
- Extracted UI JS to external file
- Enabled the option to include following pages of multi-page posts
- Script tries to raise memory and time limit if active
- Marked as stable
- Cleaned up plugin directory and moved img files to subfolders
- Fixed background building bug in WP 2.1
- Removed auto-update plugin link for WP < 2.5
- Fixed critical bug with the build in background option
- Added notification if a build is scheduled
- Splitted plugin in loader, generator and user interface to save memory
- Generator and UI will only be loaded when needed
- Secured all admin actions with nonces
- Improved WP 2.5 handling
- New „Suggest a Feature“ link
- Fixed author pages
- Enhanced background building and increased delay to 15 seconds
- Enabled background building by default
- Improved WP 2.5 handling (fixes blank screens and timeouts)
- Added compatibility CSS for WP 2.5
- Added option to ping MSN Live Search
- Removed some WordPress hooks (the sitemap isn’t updates with every comment anymore)
- Fixed wrong XML Schema Location (Thanks to Emanuele Tessore)
- Added Russian Language files by Sergey http://ryvkin.ru
- Fixed bug which caused that some settings were not saved correctly
- Added option to exclude pages or post by ID
- Restored YAHOO ping service with API key since the other one is to unreliable
- Changed HTTP client for ping requests to Snoopy
- Added „safemode“ for SQL which doesn’t use unbuffered results
- Added option to run the building process in background using wp-cron
- Added links to test the ping if it failed
3.0 final (2007-09-24)
- Marked as stable
- Removed useless functions
- Changed mysql queries to unbuffered queries
- Uses MUCH less memory
- Option to limit the number of posts
- Added category support for WordPress 2.3
- Fixed bug with empty URLs in sitemap
- Repaired GET building
- Added tag support for WordPress 2.3
- Fixed archive bug with static pages (Thanks to Peter Claus Lamprecht)
- Fixed some missing translation strings, thanks to Kirin Lin
- Fixed bug with empty categories
- Fixed bug with translation plugins
- Added support for robots.txt
- Switched YAHOO ping API from YAHOO Web Services to the “normal” ping service
- Search engines will only be pinged if the sitemap file has changed
- Added Ask.com notification
- Added option to include the author pages like /author/john
- Fixed WP 2.1 / Pre 2.1 post / pages database changes
- Added check to not build the sitemap if importing posts
- Fixed wrong XSLT location (Thanks froosh)
- Small enhancements and bug fixes
- sitemap.xml.gz was not compressed
- YAHOO update-notification was PHP5 only (Thanks to Joseph Abboud!)
- More WP 2.1 optimizations
- Reduced memory usage with PHP5
- WordPress 2 Design
- YAHOO update notification
- New status report, removed ugly logfiles
- Added option to define a XSLT stylesheet and added a default one
- Fixed bug with sub-pages, thanks to Mike, Peter and Glenn
- Improved file handling, thanks to VJTD3
- WP 2.1 improvements
- Fixed some smaller bugs
- Decreased memory usage which should solve timeout and memory problems
- Updated namespace to support YAHOO and MSN
- Fixed several bugs reported by users
- WordPress 2.0 (Beta, RC1) compatible
- Added different priority calculation modes and introduced an API to create custom ones (Some people didn’t like the way to calculate the post priority based on the count of user comments. This will give you the possibility to develop custom priority providers which fit your needs.)
- Added support to use the Popularity Contest plugin by Alex King to calculate post priority (If you are already using the Popularity Contest plugin, this will be the best way to determine the priority of the posts. Uses to new priority API noted above.)
- Added option to exclude password protected posts (This was one of the most requested features.)
- Posts and pages marked for publish with a date in the future won’t be included
- Added function to start sitemap creation via GET and a secret key (If you are using external software which directly writes into the database without using the WordPress API, you can rebuild the sitemap with a simple HTTP Request. This can be made with a cron job for example.)
- Improved compatibility with other plugins (There should no longer be problems with other plugins now which checked for existence of a specified function to determine if you are in the control panel or not.)
- Recoded plugin architecture which is now fully OOP (The code is now cleaner and better to understand which makes it easier to modify. This should also avoid namespace problems.)
- Improved speed and optimized settings handling (Settings and pages are only loaded if the sitemap generation process starts and not every time a page loads. This saves one MySQL Query on every request.)
- Added Button to restore default configuration (Messed up the config? You’ll need just one click to restore all settings.)
- Added log file to check everything is running (In the new log window you can see when your sitemap was rebuilt or if there was any error.)
- Improved user-interface
- Added several links to homepage and support (This includes the Notify List about new releases and the WordPress support forum.)
- Added Polish Translation by kuba
- Added French Translation by Thierry Lanfranchi
- Fixed bug with incorrect date in additional pages (wrong format)
- Added Swedish Translation by Tobias Bergius
- Included Chinese (Simplified) language files by june6
- Added support to store the files at a custom location
- Changed the home URL to have a slash at the end
- Fixed errors with wp-mail
- Added support for other plugins to add content to the sitemap
- You can include now external pages which aren’t generated by WordPress or are not recognized by this plugin
- You can define a minimum post priority, which will overrride the calculated value if it’s too low
- The plugin will automatically ping Google whenever the sitemap gets regenerated
- Update 1: Included Spanish translations by Cesar Gomez Martin
- Update 2: Included Italian translations by Stefano Aglietti
- Update 3: Included Traditional Chinese translations by Kirin Lin
- Language file support: Hiromasa from http://hiromasa.zone.ne.jp sent me a japanese version of the user interface and modified the script to support it! Thanks for this! Check the WordPress Codex how to set the language in WordPress.
- Added Japanese user interface by Hiromasa
- Added German user interface by me
- Changed SQL Statement for categories that it also works on MySQL 3
- Fixed a hardcoded tablename which made a SQL error
- Can also generate a gzipped version of the xml file (sitemap.xml.gz)
- Uses correct last modification dates for categories and archives. (Thanks to thx Rodney Shupe for the SQL)
- Supports now different WordPress / Blog directories
- Fixed bug which ignored different post/page priorities (Reported by Brad)
- Fixed compatibility for PHP installations which are not configured to use short open tags
- Changed Line 147 from _e($i); to _e(strval($i));
- Thanks to Christian Aust for reporting this!