Redirecting to www with htaccess
This is useful for SEO so all your ranking gets added to one url and not divided between two. Use the following example to create a redirect from any incoming domain to your www sub-domain:...
View ArticleRewriteRule and Trailing Slashes
Just a quick post today, i needed to redirect a URL with and without a trailing slash to the same destination, but didn’t want to create two separate rules, so I did some searching and found that it is...
View ArticleEnabling Gzip Compression of PHP, CSS, and JS Files Without mod_deflate
Normally you can easily enable Gzip compression using mod_deflate by adding the following lines to your .htaccess file: <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain...
View ArticleHow to Enable PHP 5.3 on HostMonster Shared Web Hosting
Click image to view full phpinfo() output PDF You heard it right, you can now run PHP 5.3 applications on HostMonster. I’ve only testing this on HostMonster, but I would assume the same applies to...
View Article