Question
How do you test if an .htaccess file is causing a problem?
Answer
You can rename the .htaccess file temporarily to disable it, and then reload the site to see if the problem persists with the .htaccess disabled.
Note: You need to replace /home/user/public_html with the directory that contains the .htaccess file in both of the commands provided below.
# mv -v /home/user/public_html/.htaccess /home/user/public_html/htaccess.DISABLED
You can re-enable the .htaccess file at any time by renaming it back:
# mv -v /home/user/public_html/htaccess.DISABLED /home/user/public_html/.htaccess
Comments
0 comments
Article is closed for comments.