redirecting from non www to a www

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
Sosa PTA
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Aug 16, 2018 2:09 pm

redirecting from non www to a www

Post by Sosa PTA » Thu Aug 16, 2018 2:21 pm

My site http://www.mansfieldps.co.za is redirecting from non www to a www. I want to correct that but I cant find the redirect on the .htaccess file. Is there a way you can add a redirect on the CMS that I may not know of ?
Last edited by mandville on Thu Aug 16, 2018 9:10 pm, edited 1 time in total.
Reason: split from old unrelated topic - Hijacking someone topic instead of creating your own topic. is against the forum rules

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9652
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: redirecting from non www to a www

Post by AMurray » Fri Aug 17, 2018 9:53 am

The link you've given is a "www" link (not the non-www link)....???

In any case, visiting both URL's gives different results:

(1) http://www.mansfieldps.co.za just loads that site normally.

(2) The non-www URL http://mansfieldps.co.za doesn't load the site at all, comes up with a "holding" page with "Reserved for mansfielps.co.za"(so I don't see the issue as described).

Redirects are usually set in the .htaccess file, so you're correct to start looking there, however, I wonder if you have searched the correct .htaccess file. (the .htaccess file, not htaccess.txt ??? ).

You usually manage redirects in your hosting account control panel (not Joomla) so for example go to cPanel and look at the 'redirect' options there. You asked if there was anywhere else redirect settings might be changed in the CMS itself, I would suggest Joomla's redirect component, refer to https://docs.joomla.org/Help38:Componen ... ct_Manager.

Screenshots show examples of what I am seeing visiting both variations of the URL:
non-www-mansfield.PNG
www-mansfield.jpg
You do not have the required permissions to view the files attached to this post.
Regards - A Murray
General Support Moderator


Locked

Return to “Administration Joomla! 3.x”