All looks good and it works as long as your ZenCart is imstalled in the root. Problems appear when you have ZenCart installed in /shop folder for example. To understand better I will take and example: website: olalawebsite.com/shop absolute path …
Category Archives: htaccess
Redirection http://www to http://
# 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]
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. …
Session issue and php
We can manipulate sessions via .htaccess (or php.ini) There is another article about how to manage php.ini directives via .htaccess. Anything is in php.ini can be c hanged via php. Here it is a simple way you can change session …
PHP and .htaccess in commercial environment
Website in comercial environment: 1) .htaccess and php directives General rule is: php_attr_name PHP-variable value a) Temporary enable error display php_flag display_startup_errors on php_flag display_errors on php_flag html_errors on php_value error_reporting 1 b) Diable error display using .htaccess php_flag display_startup_errors …





