Problem With PERMALINKS For WP Blog

Discussion in 'WordPress' started by ramakazi, Dec 29, 2008.

  1. #1
    Hey,

    I've recently started the blog which is in my url but want it to be in the format:

    Kings Of Cards.com/blog/category/post-name

    Instead of

    Kings Of Cards.com/blog/index.php/category/post-name

    For some reason when I try change it like this in the permalinks section it doesn't work, just comes up with a blank page like this: http://kingsofcards.com/blog/rules/rules-for-poker-games

    I've changed the permissions of index.php to: 644, 666, 755, 777 but none work.

    666 and 777 shut down the site altogether.

    I've been told that there is a code to put into the .htaccess which is this:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    But when I search .htaccess on the cpanel it comes up with files but when I click them it says there's no file here.

    Is there a way I can access .htaccess to try put this code into it.

    I've searched all over google but none have been productive.

    Kind Regards

    Julius
     
    ramakazi, Dec 29, 2008 IP
  2. Pandemix

    Pandemix Well-Known Member

    Messages:
    954
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    120
    #2
    The .htaccess file is usually hidden. In your FTP server settings, look for an option that will show invisible files. If you can find that and enable that, then the .htaccess should show up in your root directory.
     
    Pandemix, Dec 29, 2008 IP
  3. aniroy1986

    aniroy1986 Well-Known Member

    Messages:
    391
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    130
    #3
    i am wondering whether u can ultimately modify it. if .htaccess were enabled in ur server wordpress would hav automatically changed it with permalinks.
     
    aniroy1986, Dec 30, 2008 IP
  4. ramakazi

    ramakazi Well-Known Member

    Messages:
    1,295
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    128
    #4
    hey,

    thanks everyone I fixed it.

    thanks!
     
    ramakazi, Dec 31, 2008 IP