# 301 redirect all domain request RewriteCond %{HTTP_HOST} ^www.YOURDOMAINNAME$ [NC] RewriteRule ^(.*)$ http://YOURDOMAINNAME/$1 [R=301,L] RewriteCond %{HTTPS_HOST} ^www.YOURDOMAINNAME$ [NC] RewriteRule ^(.*)$ https://YOURDOMAINNAME/$1 [R=301,L]
Category Archives: Security
htaccess – frendly URL – CMS Made simple
To have pretty URL in CMS made simple it is really easy if you don not move the website from root in a folder or on a subdomain. As long as you know what is htaccess file all is fine. …
Secure your shop – ZenCart
Many articles are written about how to secure your zencart based website. Most of them are focused on “php/zencart” I will try to keep it simple: 1) The hosting company must have installed mod-security (php) How you can check it? …
Self Signed Certificate (SSL) on XAMPP
It is supposed you have already installed XAMPP wit apache and SSL support and you just wish to change certificate details It means: -your server will display what you will write in your certificate -your certificate will be presented as …





