The front page loads fine, but I can see that a post, for example, yields this error.
First thing to confirm is that you have an .htaccess file in the root of your website. If it’s there, can you show us what it contains?
Second, who configured your web server / virtual host files for that domain? Is it a new site or did that just break?
.htaccess contents
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /journal/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /journal/index.php [L]
</IfModule>
# END WordPress
Was an established site just quit working
Can you temporarily disable pretty permalinks and see if the pages load then?
I set it back to default and now the site is working. So How do I get the custom permalinks to work?
If I had to take a guess, considering the .htaccess file looks like it should work, I’m guessing something changed on the server with regard to rewrites. This could be a setting in the Apache configuration file, the site’s virtual host file, or a missing component (like mod_rewrite.c).
I’d start by checking the output of phpinfo() to see if mod_rewrite is a loaded module. Then I would go and review the Apache configuration file and virtual host file, to see whether something changed. If you don’t manage those aspects of the server, I’d pass what you’ve learned to a server admin and have them take a look.
I just checked your site again, and the other pages appear to load now? Did you find out what the problem was?
Nope, just changed the permalinks to default, reloaded the page, it worked, changed the permalinks back to custom, reloaded, IT WORKED.???!!! DUH!! A complete mystery.
Thanks for your assist.
Codi
Can you take another look at your .htaccess file and see if WordPress changed anything within it? I also know that visiting the “Permalinks” page triggers an update of all the rewrite rules in the database, so that could have fixed it, too.
OK- it would have to have been an issue with the rewrite rules in the database then. Thanks for double checking!
No problem…thanks again for the assist