Force https via htaccess
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
Force WWW or non-WWW
NONE SSLTo force www in your URLs, place the following in the .htaccess.RewriteCond %{HTTP_HOST} !^www\.RewriteCond %{HTTPS} !=onRewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]To force non-www addresses, please use the followingRewriteCond…
Point domain to specific directory via rewrites
If you have a script installed at /example.com and you want http://example.com/ to show the contents of /example without the address bar changing, you can use the following rewrites to do this:RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_URI}…
Increase PHP memory limit
If you need PHP's memory limit to be increased, please do the following: Create a file called ".user.ini" in the folder of the script or the folder above (as long as the folder is still in the domain's directory) In the .user.ini file, place:…