htaccess rules not taken (some rules but not all) (How to Fix)
The hierarchy of the .htaccess files is taken from
1) Apache htdocs folder (/var/www/html)
2) Local Webserver root folder (let us say website)
If your htaccess is present in the Local Webserver root folder (website) and all the changes are not being taken or some changes are taken but not all the rules are taken
1) Go a step above the Local Webserver root folder (website) and see if there is any other .htaccess file