Learn How to Redirect Subdomain From www. to Non-www ?

We have detected many issabout redirecting the primary Joomla site with www to non-www. Well, this post goes to show you steps on a way to redirect a subdomain with www to a non-www subdomain. There is almost a similar redirect that we’d like to put in for the Subdomain like we did on the primary site using the heart of our site i.e. .htaccess file.

We want to redirect subdomain with www prefix to a non-www prefix url. For Example: http://www.subdomain.maindomain.com to http://subdomain.maindomain.com

Now, write the following code in .htaccess file usually found in the root of your website file structure.

I hope it helps!

Choose the Best Joomla 3.4.4 Hosting

Any mobile-friendly changes you make to your site could be for naught if your Joomla hosting company provides slow and unreliable service. Pennies saved in choosing the cheapest hosting services available may turn out to be quite expensive in the long run. HostForLIFEASP.NET is recognized as one of the Best, Cheap Joomla 3.4.4 Hosting Provider. You can always start from their start from €3.00/month and this plan has supported Joomla 3.4.4 with one-click installer, within less than 5 minutes. They provide cheap, best and instant activation on your WordPress Hosting hosting account with UNLIMITED Bandwidth, Diskspace and Domain.

hostforlifebanner

You may also like...

Popular Posts