Sep
05
2011Resolve WordPress wp-admin/edit.php Page 500 & 404 Error for Admin Posts Link
Tags: mod_security
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 <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
And add the following to the start of your .htaccess file:
<IfModule mod_security.c> SecFilterEngine Off SecFilterPost Off </IfModule>
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.
Related posts:
- Exclude Specific Folder from htaccess rewrites in WordPress Blog
- Step by Step Guide to Move WordPress from Sub-Directory to Root Directory of Website
- [WordPress] Resolve Error: Unable to create directory+Is its parent directory writable by the server?
- Custom Page Templates Not Showing Up in Page Attributes Drop Down in WordPress Admin Panel
- [WordPress] Creating Full Width Page Template for WP Posts and Pages
toto
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