500 Internal Server error can be caused by a mis-configured .htaccess file. Try renaming .htaccess to something else and see if the page loads then.
I renamed .htaccess to .htaccessa (something random) and then the About page got a:
Not Found
The requested URL /about was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Any other ideas? Specific .htaccess fixes?
it’s 404’ing because you renamed .htaccess and it can no longer find the permalink redirect rules. Which shows that the .htaccess was causing the error.
Can you post the contents of your .htaccess?
Or switch back to standard permalinks, delete the .htaccess. Check single posts are working. Then try re adding your custom permalinks and see what happens.
Here’s .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress
OH SNAP!
You’re awesome.
So I reset the permalinks to normal and now it’s working. I changed them again, still working!
This has been puzzling me for days.
threestyler is the Logan Frederick Person of the Day award winner.
Replace with:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
ah you got it working the other way 🙂
Your .htaccess was setup as if your installation was located yourdomain.com/blog/ instead of at yourdomain.com