Skip to content

Merge 2 .htacces files into 1 #10

@beumerr

Description

@beumerr

The htaccess is used to redirect to users to the correct index.php where the bootstrapping will happen.

Location Main route Rewrite to Used for
scr/.htaccess /* scr/index.php Used to compile the theme that visitors will see
scr/admin/.htaccess /admin/* scr/admin/index.php Used to compile the admin panel

As you might have noticed in the table above, there are 2 htaccess files. It works like it should but its not a nice solution.. When changing root directory both files need to be edited which isn't very practical

Code a htaccess, located in the scr root folder that merges both htaccess files into 1.

Good luck 😸

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions