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?
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. |
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 |
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 |
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 |
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 |
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 |
thank you! Always remember that the future comes one day at a time. |