- Log into your WordPress dashboard
- Go to Settings → Permalinks
- Click Save Changes (you don’t need to make any changes before saving changes )
https://kb.verpex.com/docs/how-to-forward-a-domain 4. Disable the .htaccess File As a crucial part of a website, .htaccess can become corrupt for several reasons, such as incompatible plugins and wrong configuration. A broken .htaccess may disrupt a website’s appearance and cause a 404 error page. To fix this problem, disable and create a new one. Follow these steps to disable the .htaccess file :
- Log in to cPanel, and click on File Manager.
- Click the public_html folder
- Right-click on .htaccess and choose Rename.
- Add any character to the file name to disable the file.
- Click Rename to save the changes.
- In File Manager, click on New File in the upper menu.
- Type .htaccess as the file name.
- Copy and paste the code below:
.htaccess code
- Click Create to save your changes.
Then it means the 404 page not found error was caused by a corrupt .htaccess file. 5. Fix File Permissions If error 404 still persists, we recommend fixing file permissions. File and folder permissions let the server know who can run, read, or edit the data on the hosting account. However, if the values are incorrect, the web page may show a 404 error. Therefore, you will need to modify the file permissions to solve this issue. The default values for files are 644 and for folders are 755.
Follow these to fix file permissions on cPanel:
- Log in to your Verpex account.
- Select the hosting plan and click Manage.
- go to the File Manager
- Right-click on the file or folder you want to modify and select Permissions.
- Tick the boxes to modify accesses. The values will automatically update upon choosing the permissions.
- Click Change to apply the changes.
This should solve the 404 page not found error if the error came from incorrect permission.