Dolphin isn't including www in links...

Hi there,

I also tried to search for this... but the keywords are probably too generic. Basically when I go to http://www.mysite.com/community it automatically redirects to http://mysite.com/community

When I look in the source, all of the links are hardcoded to http://mysite.com as well. Is there a way to change the base url to be http://www.mysite.com?

Thanks for the help. Hopefully this will do it for a while ;-)

Jack

Quote · 30 May 2009

In  inc/header.inc.php

.

Find  $site['url']               = "http://yoursite.com/";

.

Change to:  $site['url']               = "http://www.yoursite.com/";

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 30 May 2009

To force the www version of your site open the .htaccess file in the root folder and paste the following near the top:

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.your_domain.com$
RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]

If RewriteEngine on is already there in .htaccess dont duplicate it, just add everything below it, and dont forget to change the links to your site address.

Smile

Quote · 30 May 2009

try houstonlivelys' solution first.... spoilt for choice lol Smile

Quote · 30 May 2009

try houstonlivelys' solution first.... spoilt for choice lol Smile

Mine's less typing :p

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 30 May 2009

Changing the header.inc.php fixed it. Thanks for helping a newb houston!

Quote · 30 May 2009

Changing the header.inc.php fixed it. Thanks for helping a newb houston!

NP.  If you have other questions that you need answered, there's a lot of info here in the forums and in the Dolphin documentation http://www.boonex.com/trac/dolphin/wiki/DolphinDocs

.

When topics and questions are well worded and specific, like yours, it makes them much easier to answer.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 30 May 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.