just spent quite some time searching on Google and Stack Overflow for my problem, changed the .htaccess already but no changes.
I changed the permalink settings to postname, saved, refreshed my site and got the error: Forbidden
You don’t have permission to access / on this server.
Apache Server at arnoldnumerouno.de Port 80
After searching I changed the .htaccess to:
SetEnv PHP_VER 5_3
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
—
The page is still down and I can’t access the wp-admin to set it to default again.
I really need some help 🙁 Just spent several hours on writing posts and now the page is down and I have no clue what to do.
Really appreciate any help from you guys,
thanks in advance
Try removing:
SetEnv PHP_VER 5_3
Also, make sure that your files and directories have the proper permissions: 755 for directories, 644 for files.
EDIT
Also, try adding the following to the beginning of your .htaccess:
Options +FollowSymLinks
When generating new permalinks,
if you have the wrong site url and home url settings,
wordpress will give an error like:
You don’t have permission to access / on this server
(…actually it’s not finding the directory),
if you’ve changed them recently, I suggest you check.
to edit site url and home url directly in database use phpmyadmin,
change siteurl and home row in the option table