Forums

[resolved] Changed permalinks & my site has an internal error (8 posts)

  1. dczepiel
    Member
    Posted 3 years ago #

    Hello,

    my site http://kupasmiechu.ovh.org is not working after I changed the permalink style in admin panel from default to the "year/month/postname" version.

    Immediately after I clocked the box and hit 'apply' button (or whatever it was called) I got kicked out with a message that the server encountered an internal error (this is what you see under the link now).

    My .htaccess file looks like 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

    Can anybody help? Is there a way to change back the permalinks to default through editing the files on the server as it seems it was the change that caused the site to go down ?

  2. Samuel B
    moderator
    Posted 3 years ago #

    ftp to site and delete .htaccess
    are you on a linux or windows server?

  3. dczepiel
    Member
    Posted 3 years ago #

    samboll

    I did what you told me - deleted .htaccess and then website was on again. I went to wp-admin and options and tried to changed permalinks back from 'month' to 'default' and again I was hit with the internal error. I realized that my server does not support permalinks so now I want to get back to default but...

    the case is - if I delete .htaccess - whatever I would do it gets created again and site goes down.

    Is there a way to delete .htaccess and change back to default again ?

  4. Samuel B
    moderator
    Posted 3 years ago #

    deleting .htaccess should be final and revert back to default - don't try resetting them as that is what regenerates the .htaccess

    here review this for better permalinks
    http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

  5. dczepiel
    Member
    Posted 3 years ago #

    It does not work. Deleting .htaccess does not revert back to default permalinks. I can access the main site at http://kupasmiechu.ovh.org but any look at the post links etc. They all have pretty permalinks and once they are clicked the internal error is back.

    I need to somehow change the permalinks back to default to make it work...

  6. dczepiel
    Member
    Posted 3 years ago #

    anyone?

  7. dczepiel
    Member
    Posted 3 years ago #

    up.. please help

  8. dczepiel
    Member
    Posted 3 years ago #

    Problem solved
    here

Topic Closed

This topic has been closed to new replies.

About this Topic