Aingecy SAAS

Topics

Resolution of Error 404: Page Not Found

Solving the problem

If, after installing the script on your server, you can only access the homepage and encounter a 404 error when trying to access any other page, follow the tips below to resolve the issue.

This problem is commonly caused by the absence of the .htaccess file on the server. The .htaccess file plays a critical role in defining the routes of your website, and without it, navigation to pages other than the homepage becomes impossible.

How to Locate the .htaccess File

The .htaccess file is part of the file package you downloaded as a .zip file along with the script. If you can't see this file, there's a good chance your operating system is hiding it. Operating systems like MacOS and Windows have a default setting to hide files with a dot (.) prefix.

How to Upload the .htaccess File to the Server

After locating the .htaccess file, you must upload it to the root of your site. This process will vary depending on how you typically upload files to the server. You may need to use an FTP program or a web hosting control panel such as cPanel.

How to Show Hidden Files on MacOS and Windows

To locate the .htaccess file, you may need to configure your operating system to show hidden files. Below are the procedures for both platforms.

On MacOS:

Open Finder, which is the default file manager for MacOS.
Navigate to the folder where the script's .zip file was unpacked.
Press Command + Shift + . (period) simultaneously. This will make all hidden files in the folder visible. Your .htaccess file should now be visible.

On Windows:

Open File Explorer, which is the default file manager for Windows.
Navigate to the folder where the script's .zip file was unpacked.
At the top of the File Explorer window, click on the "View" tab.
In the "Show/hide" section, check the "Hidden items" box. All hidden files and folders should now be visible, including the .htaccess file.