How to edit rules in .htaccess in /htdocs

I created a new .htaccess file in /htdocs and I don’t know how to override the original.

the website is wrong, it is

Hello, to override the .htaccess fules for any (sub)folder, you create a new .htaccess file and put your directives inside of it.


Just define your own rules in your own .htaccess file. Any rules in a subdirectory override the rules of the parent directory. There is no special override syntax.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.