Find my .htaccess file 1) Login to your cPanel 2) Click on File Manager 3) Select the Document Root for: option, and choose your domain from the drop-down 4) Selected the Show Hidden Files 5) Click Go butten 6) Right-click on the .htaccess file 7) Select Edit 8) Click on New File at the top-left […]
See MoreTag: .htaccess
How to force www or non-www in your .htaccess file in cPanel
How to force www or non-www in your .htaccess file in cPanel Many customers at some point request to force either the www or non-www version of their site to display in their visitor’s browser. Though this results in the same site being displayed there is some thought that using only one version is better […]
See MoreHow to Enable Magic Quotes using .htaccess file
Enable Magic Quotes using .htaccess file The magic quotes option was introduced to help protect developers from SQL injection attacks. It effectively executes addslashes() on all information received over GET, POST or COOKIE. Providing your server is configured to allow .htaccess files, adding the following line will effectively turn off Magic Quotes: If your PHP script […]
See More
You must be logged in to post a comment.