ascott1 / ethical-web-dev

A series of short books on ethical web development
https://ethicalweb.org
191 stars 11 forks source link

Pretty links are now the default in WordPress #29

Closed contolini closed 8 years ago

contolini commented 8 years ago

As of v4.2, pretty permalinks are on by default if the server supports it. I'm guessing most servers do support it nowadays so you'll want to change "...the default WordPress permalink structure produces URLs such as..." to something like "...many WordPress websites produce URLs such as...".

https://github.com/ascott1/ethical-web-dev/blob/master/web-apps-that-work-everywhere/02-url.md#keep-urls-simple

ascott1 commented 8 years ago

Oh, that's awesome (and shows how out of the WordPress game I am). I changed this whole section around a bit:

Keep URLs simple

Effective URLs are simple, short, and human-friendly. This makes them easier to type and remember for users.

WordPress is the most popular content manager for the web and powers over 25%^1 percent of websites. Unfortunately, until relatively recently^2, the default WordPress permalink structure produced URLs such as:

/index.php?p=423

To a user this URL format is seemingly random and arbitrary. Fortunately, WordPress allowed users to create “pretty” permalink structure, and as of 2015, now does this by default. The pretty permalink structure can be descriptive and clean, such as:

/posts/effective-altruism/

WordPress core contributor Eric Lewis reportedly commented on the change saying ““Delivering pretty permalinks by default seems in line with a bunch of core philosophies – great out-of-the-box, design for the majority, simplicity, clean, lean and mean.”

By creating link structures that are simple and human readable, we are able to provide our users with a clear description of a URL’s content.