Categories

How to 301 redirect non-www URLs to www URLs using htaccess

TweetShare(function() {var s = document.createElement(‘SCRIPT’), s1 = document.getElementsByTagName(‘SCRIPT’)[0];s.type = ‘text/javascript’;s.async = true;s.src = ‘http://widgets.digg.com/buttons.js’;s1.parentNode.insertBefore(s, s1);})();

If your website can be accessed by two different URLs then your website could be penalized for duplicate content by the search engines which would be costly in terms of your rankings. For e.g. if your website can be accessed [...]

How to 301 redirect SSL URLs to non-SSL URLs using .htaccess

TweetShare(function() {var s = document.createElement(‘SCRIPT’), s1 = document.getElementsByTagName(‘SCRIPT’)[0];s.type = ‘text/javascript’;s.async = true;s.src = ‘http://widgets.digg.com/buttons.js’;s1.parentNode.insertBefore(s, s1);})();

If you would like to rewrite your SSL URLs to non-SSL URLs then please add the following code to your .htaccess file.

RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ http://www.adeelsarfaraz.com/$1 [R=301,L]

The above code should be used in the following [...]

An alternative way to check mySQL version in the Magento check script

TweetShare(function() {var s = document.createElement(‘SCRIPT’), s1 = document.getElementsByTagName(‘SCRIPT’)[0];s.type = ‘text/javascript’;s.async = true;s.src = ‘http://widgets.digg.com/buttons.js’;s1.parentNode.insertBefore(s, s1);})();

Magento, like most other open source softwares, provides a list of requirements which need to be fulfilled before it can be installed on your machine. If you are installing Magento for the first time then I would recommend that you [...]