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.

Permalinks

Discussion in 'WordPress' started by Codythebest, Feb 18, 2010.

  1. #1
    I try to change my permalinks from default to custom using /%postname%/

    When I update, I have a 404.

    Seems I need to update my htaccess as well.

    I made it writable but still, the URL show 'postname' but still having the 404.

    Any help here form wordpress guru?
     
    Codythebest, Feb 18, 2010 IP
  2. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,199
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #2
    when you made the changes, did it say you have to manually update the htaccess file?
     
    dcristo, Feb 18, 2010 IP
    Codythebest likes this.
  3. Codythebest

    Codythebest Notable Member

    Messages:
    5,764
    Likes Received:
    253
    Best Answers:
    0
    Trophy Points:
    275
    #3
    Yes. But I don't know how to do that...I didn't find something I didn't do online...
     
    Codythebest, Feb 18, 2010 IP
  4. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,199
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #4
    make the file writable, and make the permalink changes again.
     
    dcristo, Feb 18, 2010 IP
  5. Codythebest

    Codythebest Notable Member

    Messages:
    5,764
    Likes Received:
    253
    Best Answers:
    0
    Trophy Points:
    275
    #5
    I made it writable, putting chmod to 666. It changes the URL from ?p=123 to '/my-post-name' but when I click on it, I have 404..
     
    Codythebest, Feb 18, 2010 IP
  6. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,199
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #6
    after you make it writable, make the permalinks changes and save the setting AGAIN.
     
    dcristo, Feb 18, 2010 IP
  7. Codythebest

    Codythebest Notable Member

    Messages:
    5,764
    Likes Received:
    253
    Best Answers:
    0
    Trophy Points:
    275
    #7
    This is what I do:
    (I have permalink on Default)
    1) chmod .htaccess to 666
    2) Check custom permalink
    3) insert /%postname%/ in custom field
    4) Save
    5) chmod .htaccess to 644

    Is that right? This doesn't work though, have 404
     
    Codythebest, Feb 18, 2010 IP
  8. WPGLamour

    WPGLamour Active Member

    Messages:
    30
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    95
    #8
    Open your .htaccess file and see if you have this code there:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress


    If not just insert it and save the file.
    If this doesn't work then check if your host supports mod_rewrite, even do I haven't seen hosts not supporting this in a very long time.
     
    WPGLamour, Feb 19, 2010 IP
    Codythebest likes this.
  9. charmi2008

    charmi2008 Active Member

    Messages:
    152
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #9
    It s due to some error do again..
     
    charmi2008, Feb 19, 2010 IP
    Codythebest likes this.