Question: why we use htaccess in php?
Answer: . htaccess is a configuration file for use on web servers running the Apache Web Server software. ... htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer.