Title: Permalinks &#8211; Using only Postname
Last modified: August 19, 2016

---

# Permalinks – Using only Postname

 *  [slylake](https://wordpress.org/support/users/slylake/)
 * (@slylake)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/permalinks-using-only-postname/)
 * Hi all, the codex states for “using only a postname” as a permalink the following:
 * > Using only %postname%
   >  If you use postname as the only element in your permalinks
   > to create a structure such as example.com/post-title, the rewrite rules may
   > make it impossible to access pages such as your stylesheet (which has a similar
   > format) or the /wp-admin/ folder [is this true in WordPress 2.0+ versions?].
   > It’s best to include some numeric data (e.g. the post ID or date) in the permalink
   > to prevent this from happening. Additionally, WordPress v1.2.x requires the
   > use of a date structure in order for some features, such as the calendar, to
   > function properly. /%year%/%monthnum%/%day%/%postname%/ is always a good start.
 * Before I start this, although I might start testing in a sandbox. Can someone
   tell me if they know the answer to the question embedded within this body of 
   text by the original author? i.e. is this information still accurate for current
   versions?
 * I use wordpress across many sites in many different variants. Some of which see
   me use wordpress solely as a CMS with no “blogging” use.. just static pages. 
   And, for those few sites, I’d love to pretty up the URLs.
    Some sites have a 
   combination of static pages and posts. Those two I may be interested in prettying
   up.
 * Look forward to any feedback.
 * Cheese!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Roy](https://wordpress.org/support/users/gangleri/)
 * (@gangleri)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/permalinks-using-only-postname/#post-915820)
 * I’ve tried it when I was running 2.1.3 or so and the whole site broke. Fortunately
   I was smart enough to just _backspace_ to the settings to fix things, but when
   you just log out, you might have a very hard time getting things back. I have
   used /%post-id%/%postname% since and I don’t plan to try only %postname% anymore!
 *  [barcelona2winhotmailcom](https://wordpress.org/support/users/barcelona2winhotmailcom/)
 * (@barcelona2winhotmailcom)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/permalinks-using-only-postname/#post-916123)
 * I have a url that uses wordpress version 2.8.2 which I have set up static pages
   for. I don’t want to use it as a blog; just a stand alone website with a few 
   pages.
 * I want to set up the permlinks so that the URL shows the postname only on each
   page e.g as [http://<domain](http://<domain) name>/%postname%/
    But this doesn’t
   work.
 * I don’t want to show the year, month ,day or category; just the posyname.
 * Does anybody know how I can set things up like this?
 *  [Roy](https://wordpress.org/support/users/gangleri/)
 * (@gangleri)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/permalinks-using-only-postname/#post-916124)
 * Ah, what you want is easy. You can use /%post-id%/%postname% since for pages 
   the id isn’t shown anyway.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Permalinks – Using only Postname’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Roy](https://wordpress.org/support/users/gangleri/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/permalinks-using-only-postname/#post-916124)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
