Www and domain.com

Started on the old forum in September 2011 · view the original in the archive · old links redirect here

3 replies · 495 views · started 15 years ago · 1 min read

3 participants
khan Lead · 681 posts #2

use this .htaccess code to transfer all the traffic from www. to your domain.com and it is also important for SEO.

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

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close