How to Redirect URLs Non-WWW to WWW in Joomla

Technically a domain address non-www and www are two different versions of the domain address, so that the search engines will consider your website as two different websites. This will be bad for your website because there is one other websites which are considered similar to your website. So to redirect one of them is a good thing, so that search engines indexing enough one of the url you have. This is very good to optimize your website in the search engines. 
How to Redirect URLs Non-WWW to WWW in Joomla

Search Engine Optimization or more popularly the term SEO is very important for a website can be indexed well in search engine results. How to search engine optimization that is often used by SEO experts are doing a redirect url of the non-www to www.

So how to make a website Joomla! You may also be ogled by the search engines, this brief guide may be useful for Joomla website! you. This method will apply if you're using the Apache web server.

1. Log in to your cPanel page, or it can also be done by accessing FTP

2. Find a .htaccess file which is usually found in the root directory

3. Make changes to your .htaccess file, by adding the code below

To perform a redirect from non-www to www:

RewriteCond %{HTTP_HOST} ^domainame.com [NC] RewriteRule ^(.*)$ http://www.domainname.com/$1 [L,R=301]

otherwise if you want to do a redirect from www to non-www:

RewriteCond %{HTTP_HOST} ^ www.domainname.com [NC] RewriteRule ^(.*)$ http://domainame.com/$1 [L,R=301]

Subscribe to receive free email updates:

0 Response to "How to Redirect URLs Non-WWW to WWW in Joomla"

Post a Comment