If you get WordPress page not found error or 500 internal server error for opening admin/edit.php Admin Panel Posts Link, you need to disable mod_security on your server.
To disable mod_security, open your blog .htacess which is stored at the root of the site from public_html folder or inside wordpress/ folder.
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
And add the following to the start of your .htaccess file:
SecFilterEngine Off
SecFilterPost Off
Save the .htaccess file and upload it again to the same public_html folder replacing the original htaccess file on server.
Hope that helps.
Cheers.
OMG this really worked!
But actually what happened was, when I added the extra commands to the .htaccess file it caused a 500 server error. So I removed it from .htaccess and that fixed the problem, go figure.
Anyway, thank you so much for the solution.
Hi there!
i tried your tip but it does not work on my blog….
WP works properly but when I click on ‘Post > All Posts’ I recieve a 500 internal error server…
any idea?
😉
There can be so many other reasons for this error. Disable all your plugins by changing the plugins folder name. You may also need more memory for your hosting account.
I migrate my hosting and get this problem. I use your method and change directory access with 755 and success to login in wp-admin. Thank for sharing this tutorial