• Hi everyone!

    Just recently in the last 2 weeks or so, I have experienced on multiple occasions that every few days or so all my static wordpress pages get a 404 Not found error, excluding the homepage.

    Now I have researched this and found that going to my Permalink settings and clicking save would resolve this issue and I’d be able to access all my pages again. But after around 1-2 days, the pages would randomly go back to being 404 Not Found. I’m not sure what could be causing this because I have not changed any DNS settings or wordpress settings between when it resolves and when then issue starts again.

    I have also attempted to delete and refresh all my .htaccess files but the issues still persists. Its very weird since this has only started occurring after the latest wordpress update. Please also note that my WordPress install is running under EasyWP from NameCheap.

    I’d appreciate any insight that can be provided with regards to this issue.

    Thank you!

    • This topic was modified 1 year, 1 month ago by tjbruce17594.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • It’s possible your “.htaccess” files which has the rewrite rules for your website’s posts/pages is getting deleted/reset due to any reason such as your hosting disk space or due to any plugin being incompatible with your latest WP update.

    I’d suggest starting by checking the disk space quota and asking the web hosting provider to check for any web server error logs.

    Thread Starter tjbruce17594

    (@tjbruce17594)

    Hey @geekypriyansh

    Thank you for the reply. I can confirm I have 37GB / 50GB free in WordPress storage. I have been in contact with them but they have advised that they can see no errors which would explain the 404 not found pages.

    Would you know the exact location of where the .htaccess file is, I can ask them to confirm if this has been edited or is changing?

    Thank you.

    Hey,

    Regarding the .htaccess file, it is typically located in the root directory of your WordPress installation. If you have access to your web server’s file system (usually through FTP or cPanel’s File Manager), you should find it in the same directory where you can see folders like wp-content, wp-admin, and wp-includes.

    However, please note that the .htaccess file is a hidden file by default. If you’re using an FTP client or a file manager, you might need to ensure that hidden files are set to be visible.

    It would be a good idea to ask your hosting provider to check if the .htaccess file has been modified recently or if there are any irregularities in it that could be causing the 404 errors.

    Thread Starter tjbruce17594

    (@tjbruce17594)

    So I’ve gone through my FTP for my wordpress install and can confirm that there is no .htaccess file located in the root folder where my wp-content,?wp-admin, and?wp-includes folders are located.

    I did delete all .htaccess files I saw a few days ago when trying to fix this issue so its possible they haven’t been re-created. Should I manually create an empty .htaccess file here?

    Hi,

    You can create a new ‘.htaccess’ file with the following “Basic WP” content:

    htaccess

    Thread Starter tjbruce17594

    (@tjbruce17594)

    Hey!

    I’ve added the .htaccess file however my webserver is running of nginx through EasyWP. I read that a .htaccess file may not help.

    Also the issue did happen again today about 4 hours ago. All static pages were 404 not found.

    I went to my admin dashboard to reflush the permalinks, however the issue magically resolved and all pages were back to normal within 3 minutes, without my trying to reflush the links. It’s a very odd issue that I have no clue what could be causing because all my DNS settings are unchanged and everything is linked correct.

    WordPress just isn’t able to display the page every once in a while.

    Hey,

    If the server that is being used is Nginx, in that case, the server configuration may be managed directly by your web host, please ensure that you convey the issue to them clearly and ask them to make sure that the Rewrite configuration for the pretty permalinks is properly set and saved for your domain configuration in their Nginx configuration.

    Hi @misbahjabeen931,

    Can you please open a separate forum request with your issue explained there?

    Thank you!

    Thread Starter tjbruce17594

    (@tjbruce17594)

    Ive reached out to my hosting provider regarding this. It’s weird that is happening because I haven’t changed any wordpress settings and nothing has changed with my Cloudflare config either.

    But still every day or two the pages will randomly 404, but go back to normal after refreshing permalinks, and then back again to 404.

    Pat

    (@patrickhaond)

    Hi @tjbruce17594 !

    Same issue for me and I don’t know what to do.
    And for me permalink save didn’t change anything…

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WordPress static pages get intermittent 404 not found errors’ is closed to new replies.