WordPress & SEO Chris Gray on 26 Jul 2007
Playing it safe with Search Engine Safe URLs – How to optimize your WordPress Permalink structure
One of the first tips I picked up while delving into the world of SEO was the use
of so called “Search Engine Safe” (SES) URLs. SES URLs are formatted in such a way
that your query string parameters appear to be part of the path. The result is a cleaner,
more “human readable” URL that is more likely to be indexed by most search engines.
While search engines vary on what they will and will not crawl, most spiders tend
to ignore pages that contain numerous query string parameters so most SEOs recommend using Search Engine Safe URLs whenever possible.
For example:
Typical dynamic URL:
http://www.seoladder.com/index.php?category=seo&id=1234
Search Engine Safe URL (note the query string is now part of the path):
http://www.seoladder.com/category/seo/id/1234
Ho to create SES URLs in WordPress
Fortunately, WordPress allows you to optimize your Permalink Structure right out of the box without the need for additional plug-ins or code hacks. The downside is that SES URLs are not turned on by default and many users (including myself) fail to activate this feature until after they have been indexed (more on this in a minute).
To turn on Search Engine Safe URLs in WordPress you will need to perform the following steps (Note: this tutorial is based on WordPress 2.2):
- Login to the WordPress Admin and select Options | Permalinks
- From the Permalinks sub-page you will be presented with four Permalink options (Default, Date and Name Based, Numeric, and Custom). Choose one of the three SES Permalink options that best suits your needs (i.e. Date and Name Based, Numeric, or Custom).

- Finally, click the Update Permalink Structure button to commit your change. That’s it, nothing to it.
Which Permalink Structure should I use?
Most web masters tend to use “Date and Name Based” Permalinks because the post name is included as part of the URL. By including the post name in your URLs you can potentially boost your page’s ranking (provided you’ve included relevant keywords in your page titles). You can also design your own Permalink structure by selecting the “Custom” option. Beware though, if you choose to go with a “Custom” Permalink structure be sure to include some sort of numerical data in the URL structure (i.e. post id, or date). Using the post name alone can prevent you from accessing some pages such as style sheets or the wp-admin.
While WordPress makes it extremely easy to change your Permalink structure, you should carefully weigh the pros and cons before deciding to make the switch. For example, if your blog has already been indexed under the default Permalink structure you will loose your existing page rank for those pages already in the index (not to mention you will also now have bad links in index). Changing your Permalink structure will also break any incoming links that have accumulated to date. To avoid these issues you will need to ensure that the proper 301 redirects are in place before you change over to a new Permalink structure. I suggest taking a look my previous post on the proper way to move a web page for additional information on how redirect old links to your new Search Engine Safe URLs.
What SES structure are you using?
As you may have already noticed I am currently using the “Date and name based” Permalink structure on this blog (as well as a few others that I maintain).I would be interested in hearing your take on SES URLs and what structures are preferred by other webmasters…








