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 ?
ftp to site and delete .htaccess
are you on a linux or windows server?
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 ?
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
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...
dczepiel
Member
Posted 3 years ago #
dczepiel
Member
Posted 3 years ago #
dczepiel
Member
Posted 3 years ago #