Skip to content

not found for routes defined in the routes.php file #1

@jatasya

Description

@jatasya

Hi since I'm using apache 2.4 server, all the routes defined in the routes.php file are not getting redirected to the index.php file , It was showing the error of "404 not found".

But I have fixed it using the .htaccess file in the public folder with below details

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?path=$1 [NC,L,QSA]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions