Using non-alphanumeric characters in Sitemap URLs

development, encoding, google, links, php Comments Off on Using non-alphanumeric characters in Sitemap URLs

This article in Google Help explains how to deal with special characters in Sitemaps that you can submit to Webmaster tools in order to increase the number of indexed pages of your website.

The main point is: the URLs must contain ASCII symbols only.

It can be done this way:

  • (obvious) ampersand, both quotes and <> symbols must be encoded,
  • Unicode symbols must be encoded, eg. ü must be converted to %FC sequence,
  • URLs that you submit must follow the  RFC-3986

If you use PHP, pay attention to one thing: it seems rawurlencode should be used instead of the usual urlencode since it’s follows the RFC-3986 as stated in PHP documentation.

This week’s links

links Comments Off on This week’s links
  1. The Lazy Manifesto: Do Less. Then, Do Even Less. — “Practice not-doing and everything will fall into place.” – Lao Tzu. You will know the rules of Ultimate Simple Productivity from this article written by Leo Babauta.
  2. 3 Tips for Making Deadlines Your Friend — I often start a task only after the deadline has been reached 🙂 Don’t be me – learn how to work with deadlines.
  3. 7 Ways Being Unbalanced Can Make You More Productive — several ideas how to to stay focused on one thing and make short productive bursts
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in