• Resolved panan

    (@panan)


    I have uploaded .htaccess with:
    IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    the modual re-write has also installed in appach.

    I have inserted /%postname%/ for my custom permalink ,
    but I am getting internal server error and also not found error.
    what I am doing wrong here?
    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The above code is missing the start < character. Try 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

    Also see: http://codex.wordpress.org/Using_Permalinks#Using_.22Pretty.22_permalinks

    Hi,

    If you have changed the permalinks and your old posts does not work then you need to add this code in htaccess:

    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thanks,

    Shane G.

    Thread Starter panan

    (@panan)

    iridiax ,
    thanks for your comment.
    it is working now.
    also thanks for shane,I will definitly use your comment for my next .
    regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘why getting internal server error for permalink setting’ is closed to new replies.