| Posted: 13 Jun 2008 23:35 |
|
|
|
Registered User Currently Offline
|
Posts: 16
Join Date: Jun 2008
|
Is it possible to make the forum to accept both urls with www and not.
When i try to go to http://mysite.here i can, but can't do it with http://www.mysite.here
I see the same problem here on seo-board forum. Can't access http://www.forums.seo-board.com
|
| Posted: 14 Jun 2008 00:11 Last Edited By: ketso |
|
|
|
Registered User Currently Offline
|
Posts: 16
Join Date: Jun 2008
|
Fast and easy. I found a better solution that remove all WWW on my site. Shorter and cleaner links. I added this in my main htaccess file on site. This require apache server.
If you dont have this line, you have to add it before code: RewriteEngine On (i did have it)
Code: RewriteBase /
RewriteCond %{HTTP_HOST} !^domain.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]
Domain name have to be changed to yours ofc.
|