Title: Permalinks structure
Last modified: August 19, 2016

---

# Permalinks structure

 *  [keepingitril](https://wordpress.org/support/users/youthgas/)
 * (@youthgas)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/)
 * Hi everyone,
 * Got a question about the use of permalinks. I was looking over the relevant page
   in the codex and it says it’s best to start with a numeric field and end with
   postname.
 * I was wondering if it was possible to use [http://www.site.com/postname](http://www.site.com/postname),
   where postname is actually only numbers, in this case the date. Is it the numeric
   field itself that is important or would only numbers in the postname field itself
   suffice?
 * I am currently using [http://www.site.com/year/postname](http://www.site.com/year/postname),
   but would love to get rid of the year. On a side note, I tried this already and
   it cut off my ability to display comments, so there might not be much I can do
   about it anyway.
 * Thanks in advance,
    Richard

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431249)
 * Why not use `/%post_id%/%postname%/`?
 *  Thread Starter [keepingitril](https://wordpress.org/support/users/youthgas/)
 * (@youthgas)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431253)
 * I hadn’t tried that. Thanks for the idea.
 * Would love to just have postname, but eh…
 *  [Gary Bairead](https://wordpress.org/support/users/gary-barrett/)
 * (@gary-barrett)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431261)
 * > Would love to just have postname, but eh…
 * /%postname%/ will also work if thats what you want.
 * If you are changing your url structure, watch out for 404 errors and set up redirects
   if necessary
 *  [shvidky](https://wordpress.org/support/users/shvidky/)
 * (@shvidky)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431264)
 * Gary, how do i fix that? Every time i change my permalinks to something else 
   but default, I get 404 error. Anywhere I can read up on it? Thanks!
 *  Thread Starter [keepingitril](https://wordpress.org/support/users/youthgas/)
 * (@youthgas)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431265)
 * Thanks Gary.
 * I would like to, but the codex suggests there could be performance issues, but
   more so, using only postname doesn’t display the comments page.
 *  [Gary Bairead](https://wordpress.org/support/users/gary-barrett/)
 * (@gary-barrett)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431274)
 * [@youthgas](https://wordpress.org/support/users/youthgas/): The performance issue
   with /%postname%/, according to the Codex: ” has been changed and is ok to do
   since ver. 2.0″. The comments problem seems a bit wierd.
 * [@shvidky](https://wordpress.org/support/users/shvidky/): By 404 errors, I ment
   people coming from search engines might be sent to old urls, rather than the 
   new structure. Your problem seems to be related to the .htaccess file in you 
   root.
 * Create a text file called .htaccess with the following code, and upload it to
   your root
 * > # BEGIN WordPress
   >  <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / 
   > RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule./
   > index.php [L] </IfModule> # END WordPress
 * [http://codex.wordpress.org/Using_Permalinks#Where.27s_my_.htaccess_file.3F](http://codex.wordpress.org/Using_Permalinks#Where.27s_my_.htaccess_file.3F)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431277)
 * > The performance issue with /%postname%/, according to the Codex: ” has been
   > changed and is ok to do since ver. 2.0
 * **No – it hasn’t!** In fact I checked into this again only recently. The potential
   performance issue still exists. I’ve now placed a strikethrough on that line 
   of the relevant Codex page.
 *  Thread Starter [keepingitril](https://wordpress.org/support/users/youthgas/)
 * (@youthgas)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431278)
 * Was going to try going back, but now won’t.
 *  [Gary Bairead](https://wordpress.org/support/users/gary-barrett/)
 * (@gary-barrett)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431280)
 * [@esmi](https://wordpress.org/support/users/esmi/): Cheers, for updating the 
   Codex. Any links to more info on the subject?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431285)
 * If you can cope with the tech-speak, there’s a good discussion on the subject
   in the [wp_tester’s list archive](http://comox.textdrive.com/pipermail/wp-testers/2009-January/011097.html).
   Look out for the posts by Otto. I spoke to him some weeks ago about this very
   subject and he confirmed that it’s still an issue – especially if you’re creating
   Pages as well as Posts.
 * I do know that about 90% of the cases that I’ve seen where custom permalinks 
   have been a problem, it’s been in situations where people have been using /%postname%/
   or /%category%/%postname%/
 *  [Gary Bairead](https://wordpress.org/support/users/gary-barrett/)
 * (@gary-barrett)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431289)
 * Thanks, I’ll take a look.

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

The topic ‘Permalinks structure’ is closed to new replies.

## Tags

 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 4 participants
 * Last reply from: [Gary Bairead](https://wordpress.org/support/users/gary-barrett/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/permalinks-structure-1/#post-1431289)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
