This issue is very common and is related to your .htaccess file or permalinks. In this article, we will explain the fastest way to fix it.
Step 1 – Reset the Permalinks
Resetting your permalinks is the first thing to attempt. Navigate to Settings > Permalinks in your WordPress dashboard.
From here you don’t have to edit anything, just click Save Changes. YES, just Save Changes and then open your website in an incognito tab to check if it’s fixed.
Step 2 – Restore Your .htaccess File
If the first step fails, you should restore your .htaccess file to the WordPress default, this will repair your .htaccess file.
Where is the .htaccess file located? Well, the .htaccess file is located in your website directory. To edit this file you need to navigate to your cPanel account and use the File Manager function.
Navigate to your website directory
Click on Edit and replace everything with the Basic WordPress .htaccess:
# 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
Open your website in an incognito tab to check if it’s fixed.
0 Comments