Category Archive for "Htaccess"

Improve performance of Magento store using htaccess

Magento store have 300+ default database tables. Also Magento using EAV database structure that make magento store very slow. To improve magento store performance using htaccess. we have to do some changes in .htaccess file. ############################################ ## enable apache served…

Read More

.htaccess Redirection

1 ) How to redirect non www to www url in .htaccess Add below mention code in your .htaccess  file RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 2 ) How to redirect ip to domain in…

Read More