Solved: 3 Years, 11 Months ago how to force www?
#3
Solved: 3 Years, 11 Months ago
(2017-10-19, 11:09 AM)broatcast Wrote: You need to make an rewrite rule for this, if you are on an apache webserver you can recive this with your .htaccess, if you are on an nginx you can do this in your host configuration, if you are on an microsoft iis server there are other special rewrite rules.

Give us some more informations or your board url and we are able to give you the correct answare.

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

This seems to do the trick.

Thanks
Reply


Messages In This Thread
how to force www? - by dsimms - 2017-10-19, 10:08 AM
RE: how to force www? - by broatcast - 2017-10-19, 11:09 AM
RE: how to force www? - by dsimms - 2017-10-19, 06:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)