There are a couple of possibilities. First, go to settings-> permalinks and click “save” then see if that fixes the problem.
If not, tell me how you are hosting this site.
No, I’ve done this before.
I’m hosting it at hostgator.
The pages exist for months. I or any other user have done nothing new.
Sorry, I didn’t think it’s interested but I think I shouldn tell.
The day before I’ve added some lines to style.css
because on the top of the page there was author information which I didn’t want and didn’t exist before. I’ve added these and it’s gone.
.author {
display: none;
} .entry-meta {
display:none;
}
Is your .htaccess file still there?
Yes and I changed its permissions 644 to 666 to make it writeable.
can you .htaccess here?
You may want to put in a ticket with Hostgator in the meantime, because it sure seems like your .htaccess file is being ignored.
I tried to change permalinks’ structure but I think nothing’s happened.
btw .htaccess file’s last modified date doesn’t change. It is still Nov 2015
can you .htaccess here?
do you want me to put the file here?
yeah, though I don’t expect there’s anything wrong with it.
by the way. I have another website which on hostgator.
it showed this behavior yesterday and then it fixes by its own. now everything is ok with that site. I’ve done nothing.
here is my .htaccess file
# 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
that looks good. If I were you, I’d ping hostgator support.
Have you tried setting the permalinks to “Plain”?
@bryan Valentino
I made it, and yes they’re working now!
Thank you so much. Well that’s not I wanted but at least we can reach them…
@sterndata thank you, too
Glad to have helped. 🙂
This trouble is usually caused by an invalid htaccess content or permalink settings. The plain permalink settings is the default setting however it is not SEO friendly. Can you try to set it to post name and see if it works?
I tried but no, same things happened. not working