How to Fix Error 404 After Installation 0 7

Last updated on Jun 21, 2021 09:01 in Product » Maxprofit
Posted BySheriff

Error 404 is caused by missing of the required .htaccess file. Please follow the steps below to fix

Method 1

Open the package file downloaded from codecanyon, open the upload folder and there you have the .htaccess file, re-upload this file into your installation root folder and the issue is fixed

Method 2

In your installation root folder, create a new file named ".htaccess" (includes the dot), copy and paste the code below, then save

        Options -MultiViews -Indexes

    RewriteEngine On

    # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} (.+)/$
    RewriteRule ^ %1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]

** The time is base on America/New_York timezone