General Question

linkfishstudio's avatar

How do you remove the "www" from the URL of a wordpress site?

Asked by linkfishstudio (1points) August 27th, 2009

?

Observing members: 0 Composing members: 0

1 Answer

macca's avatar

in .htaccess file in the root directory…

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

though don’t tough any of the Wordpress generated stuff that’s in there.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther