The main page of the website works, but the internal pages display error 404 or error 500

The cause of this problem is that the .htaccess file is missing (or it’s either empty or lacking substantial directives required for proper operation of the CMS). The problem can be solved by replacing the current version of .htaccess with a version of this file standard for this CMS.

It these measures do not help, you can try the following actions for resolving internal errors 404 or 500. Proceed to your website directory: /public_html/

Create an .htaccess file (or replace it). The content shall be as follows: