WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Google Sitemaps - Append UTW Tags

Automatically appends all your blog tags onto the end of your Google XML sitemap file.

Why should I use this plugin?

If you use the Ultimate Tag Warrior plugin for managing your tags then this plugin will automatically add your tags to your Google XML sitemap when you update your sitemap using the Google XML Sitemap Generator plugin.

This not only saves you lots of time in not having to manually add your tags to your sitemap, but will improve your SEO as all your tags will be indexed by the major search engines.

Known Issues

  1. Your tag name must not contain an ampersand ‘&’ - if it does, please rename tag without an ampersand - or read the section below.
  2. No other issues have been reported at the moment. If so, please leave a comment detailing the error at the plugin page.

If you must use ampersands in any of your tags, then there is a PHP function called urlencode() that replaces non-alphabetic characters with a percent (%) sign followed by two hex digits and spaces encoded as plus (+) signs. See the PHP: urlencode() site for more info on this function at http://uk.php.net/urlencode

The following code should sort out the ampersand problem if you modify the line below:

AddUrl($utw_tag,time(),/”daily/”,0.6);

to...

AddUrl(urlencode($utw_tag),time(),/”daily/”,0.6);

However, I have not tested this solution as I do not use ampersands in any of my tags and the PHP: urlencode() site’s comments do warn of some inconsistencies in using this method.

Final Checks

If you are having issues with this plugin, check the following:

  1. Are you using WordPress 2.0.4+ or 2.1.0+?

  2. Do you have the two prerequisite plugins installed with the correct versions and are all plugins activated?

  3. You have no ampersands in any of tag names - or you are using urlencode() fix?

  4. If you are getting a ‘Fatal error: Undefined class name ‘googlesitemapgenerator'’ error when trying to rebuild your sitemap - this means you are NOT using v3.0+ of the Google Sitemap Generator for WordPress Plugin - please update to v3.0b6 or above.

  5. Have you checked your new ’sitemap.xml’ file to make sure that all the URL addresses point to the correct tag URL addresses - simply copy and past a few URLs from the sitemap.xml file into your browser to check that you have configured this script correctly. If you have not, simply deactivate this plugin, modify the script as instructed, and reactivate the plugin, then rebuild your sitemap using the Google Sitemap Generator for WordPress Plugin. Recheck your sitemap.xml. Check that the trailing slash (/) is present in your tag URLs if you are using the /tag/tag_name option, or use an additional plugin called ‘Permalinks Redirect‘ to sort this issue out.

If the answer is yes to all of the above questions, then you can simply deactivate the WordPress Plugin and remove the PHP file from your plugins folder. There is no risk in upsetting WordPress as no core files or database tables are modified by this plugin.

For more up to date information

Please visit the Google Sitemaps - Ultimate Tag Warrior - UTW Tags Addon Plugin plugin homepage

Requires: 2.0.4 or higher
Compatible up to: 2.2.2
Last Updated: 2007-8-31
Downloads: 19,045

Ratings

4 stars
4.3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.