Title: XML Sitemaps
Author: Denis de Bernardy
Published: <strong>26 janvāris, 2009</strong>
Last modified: 5 maijs, 2017

---

Meklēt spraudņus

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

![](https://s.w.org/plugins/geopattern-icon/xml-sitemaps.svg)

# XML Sitemaps

 Autors [Denis de Bernardy](https://profiles.wordpress.org/denis-de-bernardy/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/xml-sitemaps.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/xml-sitemaps/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/xml-sitemaps/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/xml-sitemaps/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/xml-sitemaps/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/xml-sitemaps/)

## Apraksts

The XML Sitemaps plugin for WordPress will automatically generate XML Sitemaps for
your site and notify search engines when they’re updated.

Contrary to other plugins that generate sitemap files, this one will add a rewrite
rule and store your cached sitemaps in the wp-content/sitemaps folder.

The XML Sitemaps plugin automatically assigns the rate of updates and the weight
based on statistics collected on your site.

Pings occur automatically, on an hourly basis, if the sitemap file is updated.

Lastly, and contrary to the zillions of plugins that try to do the same as this 
one, this plugin will use the WP internals to determine the number of blog, category
and tag pages on your site. This means it’ll play well with the likes of custom 
query string or [Semiologic SEO](http://www.semiologic.com/software/sem-seo/).

#### Configuration

Starting with version 2.0 there is now the ability to control the inclusion or exclusion
of date archives (years and months), author, category and tags pages in your sitemap.

Additionally specific pages can also be excluded by entering their page IDs.

Go to Settings->XML Sitemaps to update settings.

#### Help Me!

The [Plugin’s Forum](https://wordpress.org/support/plugin/xml-sitemaps) is the best
place to report issues.

## Uzstādīšana

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. The plugin will then guide you through the installation process if any manual steps
    are necessary

## BUJ

  Installation Instructions

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. The plugin will then guide you through the installation process if any manual steps
    are necessary

  The Sitemap isn’t getting generated

Actually, it is. But it’s not refreshed each time you save your posts and pages.
Doing so would be far too resource intensive on large sites.

It’s generated only when explicitly requested by visiting domain.com/sitemap.xml,
which is then cached in a physical file located in the /wp-content/sitemaps folder;
until it needs to be refreshed once again.

## Atsauksmes

![](https://secure.gravatar.com/avatar/de04bd917bf3284292fffdb3f6bf3f5a22c182d9a8be650ecf6e7d6ea7d7e25e?
s=60&d=retro&r=g)

### 󠀁[best of the best](https://wordpress.org/support/topic/best-of-the-best-90/)󠁿

 [salem80](https://profiles.wordpress.org/salem80/) 26 marts, 2018

I was only need simple sitemap.xml file and this plugin did it for me thanks for
author for making our life less painful .

![](https://secure.gravatar.com/avatar/fb4f01464afdc9fe86d58d45fd89b65f3043b22c939d2febb241eec90e7b0be3?
s=60&d=retro&r=g)

### 󠀁[Simple, generates ONE sitemap.xml as expected](https://wordpress.org/support/topic/simple-generates-one-sitemap-xml-as-expected/)󠁿

 [Alexis Wilke](https://profiles.wordpress.org/alexiswilke/) 25 februāris, 2018

I tested several XML sitemap versions and they like all want to generate thousands
of XML sitemaps. My site is never going to grow so much that a single .xml file 
wouldn’t be enough (you have plenty of room, really!) One important thing: I went
to settings and removed absolutely everything except the “Include Custom Posts”.
There is really no need to have archives in there. Google & Co. will find those 
pages, but they are not worth indexing anyway. As long as all your posts are indexed,
you’ll be just fine as far as SEO is concerned. I tested 4 other plugins, this is
my favorite so far.

![](https://secure.gravatar.com/avatar/8dc8d8bf6d36dd75a0013c1ed39bedb840f0fb2b8248341eeb95984a582dbfc5?
s=60&d=retro&r=g)

### 󠀁[Happy with the way the plugin works](https://wordpress.org/support/topic/works-fine-629/)󠁿

 [O_Breda](https://profiles.wordpress.org/o_breda/) 30 aprīlis, 2018

I am pleased with the functionality of the plugin. Thanks! I’ve been using this 
plugin for a few years. No problems whatsoever.

![](https://secure.gravatar.com/avatar/74871bcc2e2fafcef440aed6296a6519c50733d299c82113e7c0b0f427c0f8f2?
s=60&d=retro&r=g)

### 󠀁[The only plugin that got me around a parsing error](https://wordpress.org/support/topic/the-only-plugin-that-got-me-around-a-parsing-error/)󠁿

 [grantmahy](https://profiles.wordpress.org/grantmahy/) 3 septembris, 2016

Great stuff — I was encountering a parsing error likely due to an open php tag somewhere
in my theme and until I installed XML sitemaps no other sitemap plugins worked. 
Nice and simple to use and I like the way it stores a physical sitemap in a WP Folder.
thx to the author

![](https://secure.gravatar.com/avatar/c2977c3af8361b3c2c4bf2d7a9095a8cb3d194fab413370a7ac391410e025ddd?
s=60&d=retro&r=g)

### 󠀁[Good and simple.](https://wordpress.org/support/topic/good-and-simple-19/)󠁿

 [Skylar Bolton](https://profiles.wordpress.org/sky-bolt/) 3 septembris, 2016

Works well and the code behind it is simple. I would like to contribute to this 
plugin. Please contact me about how I can get you my update that adds AMP pages.

![](https://secure.gravatar.com/avatar/f6abc1513c30b4fb72acd2bae9719ca4d5a5a2d76a775c8a7a2bae743d10cfa2?
s=60&d=retro&r=g)

### 󠀁[Very easy to configure and effecive](https://wordpress.org/support/topic/very-easy-to-configure-and-effecive/)󠁿

 [SmartestReviews](https://profiles.wordpress.org/matthiaslehr/) 8 februāris, 2017

Thank you very much. I use it on my site SmartestReviews.com and it really helps
me to define priorities and crawling frequency. Great plugin. Can also run with 
yoast seo. the advantage is that you can define your own priorities and frequency.
with yoast sitemap generator you can’t.

 [ Lasīt 14 atsauksmi ](https://wordpress.org/support/plugin/xml-sitemaps/reviews/)

## Autori un izstrādātāji

“XML Sitemaps” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi 
cilvēki.

Līdzdalībnieki

 *   [ Denis de Bernardy ](https://profiles.wordpress.org/denis-de-bernardy/)
 *   [ Mike Koepke ](https://profiles.wordpress.org/mike_koepke/)

[Tulkot “XML Sitemaps&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/xml-sitemaps)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/xml-sitemaps/), apmeklējiet
[ SVN krātuvi ](https://plugins.svn.wordpress.org/xml-sitemaps/)vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/xml-sitemaps/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/xml-sitemaps/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 3.0.1

 * PHP 7.x compat

#### 3.0

 * Custom Posts now included in the sitemap w/ Setting to exclude
 * Individual posts can be excluded now. Previously only pages could be
 * Update urls for Google and Bing sitemap pinging
 * WP 4.7.x compat

#### 2.5

 * Removed extra blank lines in stylesheet file that was causing issues on a few
   sites.
 * WP 4.3 compat
 * Tested against PHP 5.6

#### 2.4

 * Fixed settings being reset upon plugin activation message.
 * WordPress 4.2 compat.

#### 2.3.1

 * Settings were not being preserved in some cases. Should be resolved now.

#### 2.3

 * New option to include author page in sitemap if they haven’t published a page
   or post.
 * WordPress 4.1 compat.

#### 2.2.1

 * Fix PHP strict warning upon deactivating the plugin.

#### 2.2

 * The blog page is not added if the page is set in the Excluded Pages list and 
   the blog page is not the Home Page.
 * Multi-paged entries are no longer included in the sitemap. This can be re-enabled
   if define(‘xml_sitemaps_paged’, true); is set in wp-config

#### 2.1

 * Changing of the plugin Settings now will cause regeneration of the sitemap
 * Fix ‘Strict Standards: Non-static method’ warning messages when in debug mode
 * WordPress 4.0 compatibility

#### 2.0.3

 * Use more full proof WP version check to alter plugin behavior instead of relying
   on $wp_version constant.

#### 2.0.2

 * Reactivate sitemap logic upon WP upgrade

#### 2.0.1

 * Fix localization

#### 2.0

 * NEW Admin Settings
 * Optionally include/exclude archive, author, category and tag pages from the sitemap
 * Option to exclude individual pages
 * Ability to generate sitemap for mobile-only sites in mobile sitemap format.
 * WP 3.9 Compat

#### 1.12

 * Too many author pages entries were being generated
 * Code refactoring

#### 1.11.1

 * Replaced deprecated PHP 5.3 function call
 * WP 3.8 compat

#### 1.11

 * Fix incorrect admin message regarding Privacy/Search Engine Visibility Settings
   changed in WP 3.5

#### 1.10

 * No longer add url to blog page if no posts have been published
 * Author links now check that author has at least 1 post or page
 * WP 3.7 compat

#### 1.9

 * WP 3.6 compat
 * PHP 5.4 compat

#### 1.8.1

 * Fix assigning the return value of new by reference warning message

#### 1.8

 * Sitemap now includes author pages in file

#### 1.7.1

 * Rebuild sitemap if post is moved to trash

#### 1.7

 * WP 3.5 compat
 * Updated for Bing ping url and removed yahoo ping as it has been discontinued

#### 1.6.2

 * WP 3.0 compat

#### 1.6.1

 * Improve safe_mode and open_basedir handling

#### 1.6

 * WPMU compat
 * Improve memcached support
 * Handle custom content dir properly
 * Add a filter so other plugins can attach pages

#### 1.5

 * Fix an ugly typo that prevented the plugin from working in some circumstances

#### 1.4.1

 * Harden a file permission check

#### 1.4

 * Improve clean-up procedure
 * Fix Paging
 * Ping throttling tweaks: up to once every 10 minutes

#### 1.3

 * Apply permalink filters on post and page links
 * Fix a conflict with themes and plugins that mess around with a blog’s privacy
   settings on 404 errors

#### 1.2

 * Drop attachments from the sitemap

## Meta

 *  Versija **3.0.1**
 *  Pēdējo reizi atjaunots: **pirms 9 gadiem**
 *  Aktīvās instalācijas: **2 000+**
 *  WordPress versija ** 3.1 vai jaunāka **
 *  Pārbaudīts līdz: **4.7.33**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/xml-sitemaps/)
 * Birkas:
 * [google](https://lv.wordpress.org/plugins/tags/google/)[google sitemap](https://lv.wordpress.org/plugins/tags/google-sitemap/)
   [sitemaps](https://lv.wordpress.org/plugins/tags/sitemaps/)[xml sitemap](https://lv.wordpress.org/plugins/tags/xml-sitemap/)
   [xml sitemaps](https://lv.wordpress.org/plugins/tags/xml-sitemaps/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/xml-sitemaps/advanced/)

## Vērtējumi

 4.5 no 5 zvaigznēm.

 *  [  11 5-star reviews     ](https://wordpress.org/support/plugin/xml-sitemaps/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/xml-sitemaps/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/xml-sitemaps/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/xml-sitemaps/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/xml-sitemaps/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/xml-sitemaps/reviews/#new-post)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/xml-sitemaps/reviews/)

## Līdzdalībnieki

 *   [ Denis de Bernardy ](https://profiles.wordpress.org/denis-de-bernardy/)
 *   [ Mike Koepke ](https://profiles.wordpress.org/mike_koepke/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/xml-sitemaps/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](https://www.semiologic.com/donate/)