wordpress - forbidden message
In some cases, with different hosting providers, it occurs sometimes, that you will get an “forbidden” message if you are writing a new post in wordpress and will save this. This has, in most cases, to do with some security rights on the server.
-
Forbidden 403 - You don‘t have permission to access /wp-admin/post.php on this server.
-
One solution is following:
Create a text file with a simple text editor and save it with the name “a.htaccess”. In the text file write:
-
<ifmodule mod_security.c>
-
SecFilterInheritance Off
-
</ifmodule>
Use a ftp program to transfer this file to your website in the folder
-
…. your-server.com/wp-admin/
This is important!
Rename the file to “.htaccess” (the dot must be before the text). On some servers this file will disapear after you renamed it, because the server is set to not show thus files. Files with a dot at the beginning often set to be hidden. Good ftp programs have the ability to toggle between “showing hidden files / or not”.
Try to write a new post in wordpress.

