Fix WordPress 404 Page “Not Found” Error

This error comes from your .htaccess file. The .htaccess file is a hidden file, so you must set all files as visible in your FTP. Login to your server using FTP, and download the .htaccess file which is located in the same location where folders like /wp-content/ wp-admin /wp-includes/ are located, if you are using cPanel you can use File Manager and navigate to your WordPress website directory.

Next, open this file in the text editor of your choice.

Fix WordPress 404 Page "Not Found" Error

If you have Basic WP use the code below:

# BEGIN WordPress

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

The .htaccess is a distributed configuration file and is how Apache handles configuration changes on a per-directory basis.

WordPress uses this file to manipulate how Apache serves files from its root directory and subdirectories thereof. Most notably, WP modifies this file to be able to handle pretty permalinks.

If this article was helpful for you do not forget to give us a Like on Facebook, Subscribe to our YouTube channel, and follow us on Twitter.

Related Posts

Leave a Reply

Your email address will not be published.