What Permalink Structure do you use in Wordpress?

Discussion in 'WordPress' started by pipes, May 7, 2008.

  1. #1
    Hi everyone, im looking for advice on what Permalink Structure to use in WP, i notice theres the default, then 3 other choices underneath, then Custom Structure, what one do you use and recommend please?
     
    pipes, May 7, 2008 IP
  2. egonitron

    egonitron Well-Known Member

    Messages:
    151
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #2
    I use Custom - I find the default choices look too messy and are useless to a human.

    So I just use Custom then just put "/%postname%/" in the box - it keeps the URLs short and nice looking, and have never caused an issue. Might help with SEO too.
     
    egonitron, May 7, 2008 IP
  3. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #3
    Thanks egonitron, i think thats a good choice, yeah if it helps with seo and looks more tidy.
     
    pipes, May 7, 2008 IP
  4. godsofchaos

    godsofchaos Peon

    Messages:
    2,595
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I use category/postname as I have only five categories lol..
     
    godsofchaos, May 7, 2008 IP
    pipes likes this.
  5. egonitron

    egonitron Well-Known Member

    Messages:
    151
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #5
    Yeah, a lot of people do that too, which works well.
     
    egonitron, May 7, 2008 IP
  6. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #6
    Thanks godsofchaos
     
    pipes, May 7, 2008 IP
  7. sizzler_chetan

    sizzler_chetan Prominent Member

    Messages:
    7,838
    Likes Received:
    664
    Best Answers:
    0
    Trophy Points:
    390
    #7
    I use the custom one, which makes my post - domainname.com/postslug.html :)
     
    sizzler_chetan, May 7, 2008 IP
    pipes likes this.
  8. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #8
    Thanks sizzler_chetan, i like that the choice is there, its cool. :)
     
    pipes, May 7, 2008 IP
  9. godsofchaos

    godsofchaos Peon

    Messages:
    2,595
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #9
    No problem, its a pleasure :). However, there is a risk always with perma structure being so predictable. Hackers seems to get the best of it which really sucks....
     
    godsofchaos, May 7, 2008 IP
  10. NMusi

    NMusi Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I usually use something like
    /%category%/%postname%.html
    
    Code (markup):
    And then you have to update your htaccess with

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    Code (markup):
    Or you can go

    /%category%/%postname%.keyword
    
    Code (markup):
    Where you replace keyword with a keyword you want to target, this has worked for some good msn rankings, but it looks spammy and most people probably wouldnt use it.
     
    NMusi, May 7, 2008 IP
  11. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #11
    i also just use /%postname%/
     
    just-4-teens, May 7, 2008 IP
  12. vgal

    vgal Active Member

    Messages:
    873
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    60
    #12
    Do you have to update htaccess or any other coding stuff when you use /%postname%/ ? I tried using permalink on one of my sites, and it always messed my site up... so mine are still the crappy mess WP produces.
     
    vgal, May 7, 2008 IP
  13. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #13
    If it works fine is it neccessary to do anything in htaccess, or is that only if your experiencing problems?

    A few hours ago i set the permalinks to /%category%/%postname%/ and all is fine, am i ok to leave htaccess alone?
     
    pipes, May 24, 2008 IP
  14. collegeblogger

    collegeblogger Peon

    Messages:
    35
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I had problems changing too, but then I used a free plugin "Dean's Permalink Migration"... (found it through Wordpress boards)

    http://www.deanlee.cn/wordpress/permalinks-migration-plugin/
     
    collegeblogger, May 24, 2008 IP
  15. Houdy

    Houdy Peon

    Messages:
    267
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Some hosting accounts handle or allow the mod rewrite for custom permalinks differently. For example the Godaddy economy package will not allow some structures or you will need to have index.php in the structure somewhere. Windows based hosting...forget it and keep your hair on your head and Yahoo Small Business is a nightmare!

    If the custom structure doesn't work sometimes WP will tell you to update your .htaccess file after you set them, look at the panel just under the dashboard menus after you set the permalinks. It will tell you if they have been updated or a message like "you should update your .htaccess file". If they don't work first try to make the .htaccess file writable, and set them again, if that doesn't work paste the code in the .htaccess file that NMusi provided above save it and set them again.

    I have setup WP on many, many different hosting accounts and usually the real cheap shared hosting accounts have the most problems. In fact I now refuse to work on some WP blogs depending on the hosting and a few types were mentioned above.
     
    Houdy, May 25, 2008 IP
  16. Dean_Saliba

    Dean_Saliba Notable Member

    Messages:
    1,210
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    225
    #16
    Option two, I was informed this would help me in search rankings.
     
    Dean_Saliba, May 26, 2008 IP
  17. Mudra

    Mudra Peon

    Messages:
    173
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I use /%postname%/
     
    Mudra, May 27, 2008 IP
  18. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #18
    Thanks to you all.
     
    pipes, May 28, 2008 IP
  19. madmn

    madmn Well-Known Member

    Messages:
    431
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    108
    #19
    I tried /%postname%/ and some of the other choices and I get the Godaddy Oops Page not found page when I click on one of the categories. I also tried the mode rewrite in the Htaccess file that NMusi suggested and that didnt work. Anyone have any mod rewrite suggestions?
     
    madmn, Jul 3, 2008 IP
  20. bluearrow

    bluearrow Well-Known Member

    Messages:
    1,339
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #20
    if you use /%category%/%postname%.html. What would happen if the post is in 2 categories or more ?

    .
     
    bluearrow, Jul 4, 2008 IP