WordPress 404 page not found

Andrei Iordache

Andrei Iordache

WordPress Developer

­čÜÇ I Help People Get Found Online | WordPress Development, Core Web Vitals, Security&Maintenance

WordPress 404 page not found

Sometimes when a user visits a particular post this error is shown. The main cause of this error is the complication of permalink settings. The user needs to setup all the settings again to solve this problem.

How To Troubleshoot and Fix WordPress 404 Errors?


When you see a 404 error on your WordPress site it means that a page could not be found for the requested URL. This means that either the URL is wrong or that something is not working right inside your WordPress installation. Below we have listed many of the ways to go about troubleshooting and fixing these WordPress 404 errors.

.HTACCESS

More than likely .htaccess is the culprit for these errors and the easiest way to try to fix this is by changing the permalink settings in order to try to let WordPress automatically rebuild the .htaccess file. So how do you change your permalink settings?

Simply go to Settings -> Permalinks inside your admin area and save your settings, sometimes switching to a different URL structure temporarily and saving is a good idea. This should have solved any 404 errors you may have had on your site.

If that did not solve the issue you will need to log in via FTP, you can use a client like FileZilla to do this. Enter the host and login details for your website and navigate to your WordPress root directory. You should see a .htaccess file here and if you do not you will need to create the file. Now, open your .htaccess file via a text editor like Notepad++. Your .htaccess file should have the following content, if it does not you may need to replace everything in it with the content below.

# BEGIN WordPress
<IfModule mod_rewrite.so>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

Once you have updated your .htaccess file you can go to your site, refresh the page and see if you are still getting 404 errors. If you are still getting 404 errors continue on to the next section.

Mod_Rewrite and server settings

If you are still having issues at this point the error most likely lies in your server settings. This means that your web host may not be configured to run WordPress properly or they may be having technical issues. Contact your web host and make sure they have mod_rewrite enabled. You should also ask your web host for help to see if they can help you fix the 404 errors on your site.

Debugging

There is a plugin called Debug This which will allow you to debug rewrite errors. Simply add it to your WordPress installation and access the plugin via the admin bar on the page on which you are seeing the 404 error.

Read more here: WordPress 404 Not Found | What Is It & How To Solve It

Previous Post
WordPress White Screen of Death
Next Post
WordPress Sidebar Error
Lusi StudiosLusi Studios
15:32 22 Jun 22
Andrei did an amazing job! He helped in a very rushed time and he excelled at everything. Thanks again!
I am grateful and I would to thank Websites Seller for their support in site recovery and site transfer. Websites Seller just saved my business. Thank you!
Wouter GhysensWouter Ghysens
11:52 10 Sep 21
Looking for a Wordpress transfer from site A to site B, I found back Andrei from Wesites Seller on Google.He was very proactive in his approach, came with hundreds of ideas and lifetime experiences from other migrations. He knows the wordpress, the hosting and php database as the back of his pocket.And we worked out this migration very smooth. Together we solved it, and myself and my business are very pleased with his approach.100% recommendation & kudo's from out of Belgium!
Ioachim CiobanuIoachim Ciobanu
18:39 14 Jul 21
Websites Seller built my resume site. Deliverables were quickly completed, and I was asked for my feedback at each stage of development. All feedback I gave was implemented in a short time.Another great thing is that he comes with smart solutions, regarding stuff which I didn't initially think of (site security, Google site speed optimization and so on). Basically, he was great, staying in touch, keeping me updated and paid attention to what was most important for my site.Overall, I am very happy with the work done. I highly recommend this developer!
K CollinsK Collins
09:11 19 May 21
I needed help with website speed - to improve my core web vitals - without compromising the usability of my site. Andrei was extremely responsive, proactive and fast. And more importantly, he increased by website speed. Highly recommend him, and I will be using him going forward on all my projects.
ÔÇ╣
ÔÇ║
js_loader

Services

WordPress Website Maintenance Services

WordPress Maintenance Services

WordPress website maintenance service that provides cloud backups, emergency support, weekly website updates, speed and many more.

sally

WordPress Migration Service

Safely transfer your WordPress website to a new location for $75. … Migrate your website to its new host.

lawyer-office

Lawyer Web Design

We specializes in website design, Internet marketing and SEO for lawyers and attorneys throughout the Europe and US.