Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Change http:// to http://www.
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Change http:// to http://www.

Change http:// to http://www. 17 years, 10 months ago #1547

I am looking to change my site url from http://(sitename) to www.(sitename) can anyone help me figure out if there is an option in the component or what to put in the .htaccess for this redirect to work.

Re:Change http:// to http://www. 17 years, 10 months ago #1558

You would normally do that in your Joomla configuration.php, at line 44 it says:

$mosConfig_live_site = 'www.terrypratchettbooks.org'; - for instance.

edit: and to make sure it always redirects to www, put thisd in your .htaccess file:

RewriteCond %{HTTP_HOST} ^terrypratchettbooks.org
RewriteRule ^(.*)$ www.terrypratchettbooks.org/$1 [R=permanent,L]

Again using the same site as an example.<br><br>Post edited by: Maljonic, at: 2007/03/01 21:23
  • Page:
  • 1
User Login Empty