how to set url to www

when i enter my website like

"www.myisite.com" its going to "mysite.com"

also google recognize show my site as "mysite.com"

how can i fix it?

Always remember that the future comes one day at a time.
Quote · 18 Sep 2013

Go to inc/header_inc.php and edit the file.

Find:

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

change to

$site['url'] = "http://www.mysite.com/";

Geeks, making the world a better place
Quote · 19 Sep 2013

And empty the ./cache, ./cache_public, and ./tmp directories EXCEPT for the .htaccess files.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 19 Sep 2013

another way - which for me has been more accurate - as a user may type in with or without the www - is to add a line to the .htaccess like so:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.com [NC]
RewriteRule (.*) http://www.domain.com/$1 [L,R=301]
caredesign.net
Quote · 19 Sep 2013

 

another way - which for me has been more accurate - as a user may type in with or without the www - is to add a line to the .htaccess like so:

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

Dolphin handles the redirect in PHP, so this isn't needed - and if the same prefix isn't set in Dolphin, this could cause a nasty redirect loop.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 19 Sep 2013

I concur. Dolphin should be handling that redirect and does as long as no hacks were made to remove it. It should not have to be placed in the htaccess file. And yes, it will cause a looping problem if dolphin does not match,









https://www.deanbassett.com
Quote · 19 Sep 2013

thank you! 

Always remember that the future comes one day at a time.
Quote · 19 Sep 2013
 
 
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.