Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

Force redirect domain with "www"

 

Indexhibit version: 2.0
Thread is resolved.

yanxing
UNITED STATES
7 month(s) ago
Permalink Post

now
domain.com
domain.com
can be both fine be visited, I would love to know is there have some method can maybe the domain forced with "www" no matter how the visitor with/without "www" typing~
thanks

Best Answer!
Vaska A
UNITED STATES
7 month(s) ago
Permalink Post

Search Google for that - it's a simple thing you can do via htaccess if I'm correct.

yanxing
UNITED STATES
7 month(s) ago
Permalink Post
  1. I tried
  2. RewriteCond %{HTTP_HOST} !^domain.com$
  3. RewriteRule ^(.*)$ domain.com/…]
  4. in ".htaccess" 

but it didn't work~

yanxing
UNITED STATES
7 month(s) ago
Permalink Post

there have the same question on internet, please check:stackoverflow.com/questions/9193853/…

Showing 1 - 4 of 4 posts in Forum » Customize » Force redirect domain with "www"
 

This thread has been closed, thank you.