Wordpress Permalinks problem

Discussion in 'WordPress' started by deepman007, Jul 13, 2009.

  1. #1
    Hi

    I change the permalinks in the wordpress to custom Structure, but it doesnt work when i try to click on the page links. Example: When I click on About button, the browser tells me that " This link appears to be broken" http://www.mydoamin.com/about

    Does anyone knows how to fix it ?
     
    deepman007, Jul 13, 2009 IP
  2. ~kev~

    ~kev~ Well-Known Member

    Messages:
    2,866
    Likes Received:
    194
    Best Answers:
    0
    Trophy Points:
    110
    #2
    You have to chmod your htaaccess file to 666 or 777, set your permalinks in the wordpress control panel, then then set the htaaccess file back to its regular permissions.

    In other words, the htaacess file has to writeable to change the permalink structure.
     
    ~kev~, Jul 13, 2009 IP
  3. deepman007

    deepman007 Peon

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I did all the steps and it doesn't work.
     
    deepman007, Jul 13, 2009 IP
  4. basscleff

    basscleff Active Member

    Messages:
    1,161
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #4
    chmod .htaccess to 777 before you start the wordpress permalinks changes. then make permalink changes and then re-chmod back to original settings.
     
    basscleff, Jul 13, 2009 IP
  5. deepman007

    deepman007 Peon

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I changed the .htaccess file to 777 first, then set the permalink to custom structure and saved the setting. After that, I changed the .htaccess file to 644 which is the original setting. Now, I went to created a page and click on the link and got "HTTP 404 - File not found" Still doesn't work.
     
    deepman007, Jul 13, 2009 IP
  6. susan8051

    susan8051 Peon

    Messages:
    1,358
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    0
    #6
    try putting this in your htaccess file

    RewriteEngine on
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    Code (markup):
     
    susan8051, Jul 13, 2009 IP
  7. logout

    logout Peon

    Messages:
    80
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    First check the folder which is have htaccess file then change the file permission 777.
     
    logout, Jul 15, 2009 IP
  8. vrktech

    vrktech Well-Known Member

    Messages:
    449
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #8
    Test your server whether .htaccess is working and then chmod htaccess file to 777 and after then save your permalink structure.
     
    vrktech, Jul 15, 2009 IP
  9. coax

    coax Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Your apache will need to have AllowOverride All in the <directory> for the site..
     
    coax, Jul 16, 2009 IP
  10. zulfnore

    zulfnore Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    What custom structure did you use? It should be something like /%postname%/ or /%category%/%postname%/ - some instructions suggest /%category%/%postname%.htm or /%category%/%postname%.php which dont work on all servers.
     
    zulfnore, Jul 17, 2009 IP