How to remove the www and why you might want to

Many people assume that the www is needed at the beginning of all their Joomla website URL's. Read the fact and tips about this below.

 

 


How to remove "WWW" from your Domain Name and why it matters Why remove “WWW” from your Domain Name? Simply put, the “www” in front of a domain name is not necessary and it is much more convenient to type the URL without the “www” sub domain. Web servers display pages though the main domain name unless a particular subdomain is required; the use of the www subdomain is simply redundant. When you write an e­mail to someone you address it to This email address is being protected from spambots. You need JavaScript enabled to view it. instead of addressing it to This email address is being protected from spambots. You need JavaScript enabled to view it.. The mail client assumes the SMTP protocol; the www sub domain is just as redundant as the proposed mail sub domain. How do you remove "WWW" from your domain name? Add the following to your “.htaccess” file located in the root directory. If you do not have an .htaccess file, rename the htaccess.txt delivered with Joomla! to .htaccess. This method requires Apache Mod­ Rewrite module enabled. If you have access to the apache server configuration file (/etc/httpd/conf/httpd.conf), Mod­Rewrite is enabled if the line “LoadModule rewrite_module modules/mod_rewrite.so” does not have a '#' in front of it. If you get an error code 500 while trying to browse the directory with the .htaccess file, Mod­Rewrite is not enabled. If your website is hosted and you have problems, talk to your web host about your Apache configuration and ask if mod_rewrite capability is enabled. Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^example.com [nc] rewriterule ^(.*)$ http://www.example.com/$1 [r=301,nc] Note: replace “example.com” with your domain name How to define 'preferred domain' using Google Web Master Tools The preferred domain is the one that you would liked used to index your site's pages (sometimes this is referred to as the canonical domain). Links may point to your site using both the www and non­www versions of the URL (for instance, http://www.example.com and http://example.com). The preferred domain is the version that you want used for your site in the search results. In addition, defining a preferred domain can be helpful to your Google Page Rank (GPR) because you won't have two copies of the same page indexed. Each page is only able to pass a fixed amount of PR. If it is passing PR to both the non­www and www versions of your domain, both pages will only get half the correct amount. If the www redirects to the the non­www, the non­www will get all the PR. You can set your preferred domain by adding the site to your Google Sitemaps account and verifying site ownership. Then:

XYZulu Hosting Blog

  • XYZulu have been in the hosting business since 2000. Our offerings are aimed at people who are proficient enough to manage their own website, but may also require some help with setting up DNS, Email, CDN etc. 7 reasons YOUR business needs US We own and operate our business. This means we personally monitor all areas to … Continue reading "7 reasons YOUR business needs US"

  • No doubt you have heard of and are probably well acquainted with Gmail. It’s an email interface most of us have used. You may be less familiar with Google’s “other” email offer: Inbox What makes it better than Gmail? It’s much faster at reading/processing emails than Gmail, especially when it comes to newsletters. Inbox provides … Continue reading "3 Reasons why you should use Google Inbox instead of Gmail"

  • Opera Browser (free) now includes a free VPN. Apart from the security benefits, this can also be handy when it comes to testing your own website from another location, especially when doing web development. Read more about the VPN security features in this post discussing the release of Opera Browser 40: www.opera.com/blogs/desktop/2016/09/free-vpn-in-opera-browser-40/ How does this … Continue reading "Opera – a free VPN Browser"

  • When people receive an email from you, do you want to them to see this image in place of your avatar/profile picture? Do you want people to think your business hasn’t setup email correctly? Currently, if you are sending emails and not providing SPF or DKIM records in your DNS zone, Gmail/Google users will now see the … Continue reading "Is your email authenticated? If it’s not, will recipient’s trust you?"

  • We all use email, and probably these days simply take it for granted. Are there some things to be aware of when choosing how to setup your email? Yes! Let’s explain. Email is like a mobile phone number, it’s not something you want to change often (if at all) and it’s also something you want … Continue reading "Email essentials"