Automatically redirect non-www requests to www for all URLs and All Domains

Redirecting non-www to www for ALL of your domains.

This guide will quickly go over why you should not use both www and non www versions of your domain, but choose only one, and how this affects your search engine rankings for Google.

Why you should only have www or non www, but not both for your website and it’s search engine optimization.

Many people have made their website accessible both through http://www.domain.com as well as just http://domain.com. This is not generally a good idea for your SEO (search engine optimization). You’re asking “Why?”, and I will explain. Google “king of search engines” and the only search engine that really should be important to you, treats subdomains as separate domains than the main domain.

In Google’s eyes; www.domain.com, domain.com are separate websites. If you are thinking “Great! My website is then going to be listed twice at Google!”, you will now need to reconsider, Continue Reading

Redirect HTTP to HTTPS via mod_rewrite

ApacheSSL Certificates are considered a necessity with any website which stores or transfers any personal information. Users visiting your website are looking for and expecting to see evidence that their data will be securely transmitted, and it is a webmaster’s responsibility to provide such protection to their users.

SSL Certificates are an excellent tool to maintain the trust of your new and current user base. Without such a prominent and industry standard security measure in place, many users will simply “bounce” off of your website, as for a majority of the users of the internet, it is not worth the unknown risk to them to transmit their personal information to a destination which has not invested in such security measures.

Now that you have gotten your SSL Certificate installed, your site is ready to be viewed via https:// . However, for users typing in your web address in a search engine or their address bar, https:// is not the standard URL prefix which will be applied when connecting to your website. By default, all web browsers automatically make an http:// connection, which is not encrypted. With that, your current dilemma is how to you force your web site users to automatically connect with the secure https:// protocol, rather than the default http:// .

This brief guide will help you easily enforce the usage of your SSL Certificate and help you maintain the trust and confidence of your userbase with your SSL encrypted connection. Continue Reading