More information about the Underscore mailing list

[_] wordpress and nice urls

Simon Holliday simon.holliday at gmail.com
Wed Feb 9 12:44:44 GMT 2011

On 9 February 2011 12:30, Amias Channer <me at amias.net> wrote:

> On Wed, 2011-02-09 at 11:49 +0000, Nick Morgan wrote:
> > Does that fulfill your needs?
>
> yep , i used /%postname% and it works really nicely.
>
>
Be careful not to confuse pages with posts (although technically in
WordPress a page is just a special kind of post).

Wordpress will automatically rewrite *pages* by name, regardless of the
permalink setting, i.e. if you create a page with a URL slug of "nicename",
as per your example, site.com/nicename will work no matter what you set the
permalink structure to, so long as your .htaccess file is there.

The permalink setting is intended for *posts* which often require a more
complex URL than just %postname%, and allows you set a different structure
to the one which is used for pages.

S.