1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do you make seo friendly links in Wordpress?

Discussion in 'WordPress' started by kiplarson, Mar 23, 2007.

  1. #1
    kiplarson, Mar 23, 2007 IP
    Site likes this.
  2. MarRome

    MarRome Peon

    Messages:
    865
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Log into your wordpress site. And under Options - Permalinks check the custom option and change it to /%postname%/

    I use /%category%/%postname%/%post_id%.html for all my sites.

    Good luck
     
    MarRome, Mar 23, 2007 IP
  3. kiplarson

    kiplarson Peon

    Messages:
    449
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Why do you use post id if you already have it in a category and post name?

    Also, what if you end up adding more categories later, will it get messed up if you move it do a different category?
     
    kiplarson, Mar 25, 2007 IP
  4. Jim_Westergren

    Jim_Westergren Notable Member

    Messages:
    1,882
    Likes Received:
    247
    Best Answers:
    0
    Trophy Points:
    235
    #4
    Jim_Westergren, Mar 25, 2007 IP
  5. kiplarson

    kiplarson Peon

    Messages:
    449
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Update:

    I did this /%category%/%postname%/ and now I have a 500 internal server error... do I need to reinstall WP now?

    Any help please.
     
    kiplarson, Mar 25, 2007 IP
  6. MarRome

    MarRome Peon

    Messages:
    865
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I do it for the keywords,
    keywords/more keywords/nail down the post for the serps/make it static

    As Jim said /%postname%/ is also fine, i have just had better results since i changed my permalinks to that structure

    Not sure, what is your url?

    Good luck
     
    MarRome, Mar 25, 2007 IP
  7. kiplarson

    kiplarson Peon

    Messages:
    449
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I had to delete my .htaccess to make it work. But it's working now.

    If I decided to go with just /%postname%/ can I always go back and change it later, or will that result in people not being able to get to my previous url's?

    I guess I just want to make sure I set it up really well now for SEO so that I don't have to deal with it later... and I'm an SEO noob so that's why all the questions.
     
    kiplarson, Mar 25, 2007 IP
  8. Jim_Westergren

    Jim_Westergren Notable Member

    Messages:
    1,882
    Likes Received:
    247
    Best Answers:
    0
    Trophy Points:
    235
    #8
    Never change it, never.

    /%postname%/ will do fine.
     
    Jim_Westergren, Mar 25, 2007 IP
  9. kiplarson

    kiplarson Peon

    Messages:
    449
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Will I still be able to assign my posts to various categories though?
     
    kiplarson, Mar 25, 2007 IP
  10. Jim_Westergren

    Jim_Westergren Notable Member

    Messages:
    1,882
    Likes Received:
    247
    Best Answers:
    0
    Trophy Points:
    235
    #10
    Of course. All just like normal.
     
    Jim_Westergren, Mar 26, 2007 IP
  11. kiplarson

    kiplarson Peon

    Messages:
    449
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Ok, well this will be my first WP blog, so that's why I was asking.

    Thanks for all the help.

    *rep*
     
    kiplarson, Mar 26, 2007 IP
  12. kiplarson

    kiplarson Peon

    Messages:
    449
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Oh Jim,

    I was looking through the rest of you stuff on that site. Do you recommend to do all of it?

    Some of it seems like stuff I've never tried before... like messing around with the .htaccess file. The only thing I've ever done with the .htaccess file is set up a redirect to go from the non www to the www.
     
    kiplarson, Mar 26, 2007 IP
  13. Jim_Westergren

    Jim_Westergren Notable Member

    Messages:
    1,882
    Likes Received:
    247
    Best Answers:
    0
    Trophy Points:
    235
    #13
    Yes, you should do all of it.
     
    Jim_Westergren, Mar 27, 2007 IP
  14. Xoligy

    Xoligy Active Member

    Messages:
    86
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    95
    #14
    If you do change it, don't forget to 301 redirect the old links, otherwise Google won't like you.
     
    Xoligy, Mar 27, 2007 IP
  15. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #15
    just-4-teens, Mar 27, 2007 IP
  16. Jim_Westergren

    Jim_Westergren Notable Member

    Messages:
    1,882
    Likes Received:
    247
    Best Answers:
    0
    Trophy Points:
    235
    #16
    If you read my article you will see that there will anyway not be any problem even if you have 2 with the exact same as WordPress adds "-2" at the end of the second one. I did it myself and it was no problem. So just use /%postname%/
     
    Jim_Westergren, Mar 27, 2007 IP
  17. obenix

    obenix Eats an apple a day......

    Messages:
    2,236
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I use /%postname%.html

    Jim, would /%postname%/ have any advantage over /%postname%.html from a SEO point of view?
     
    obenix, Mar 27, 2007 IP
  18. kiplarson

    kiplarson Peon

    Messages:
    449
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Yes, I was wondering this is as well. What do you think Jim?

    And isn't a 301 redirct this that you posted in your .htaccess file?

    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} !(.*)/$
    RewriteRule ^(.*)$ http://www.myblog.com/$1/ [L,R=301]
    PHP:
    Does it matter the order of the stuff on the .htaccess file as well? Because I see you mentioned adding the lines after the permalink lines... so I assume that by putting the /%post_id%/ it modifies the .htaccess file and then I need to add the other stuff after it?
     
    kiplarson, Mar 27, 2007 IP
  19. Jim_Westergren

    Jim_Westergren Notable Member

    Messages:
    1,882
    Likes Received:
    247
    Best Answers:
    0
    Trophy Points:
    235
    #19
    No, but let me quote w3c in their section "What to leave out":

    http://www.w3.org/Provider/Style/URI

    Yes.

    Add my URL canonicalization handling before the permalinks.
     
    Jim_Westergren, Mar 27, 2007 IP
    obenix likes this.
  20. MarRome

    MarRome Peon

    Messages:
    865
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Everyone might want to check out what wordpress says on correct permalink structure

    Good luck
     
    MarRome, Mar 27, 2007 IP