Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I currently have my blog at and would like to move it to

Is this as simple as changing the WordPress Address and Site Address in Settings? How can I ensure that users hitting are automatically redirected to

share|improve this question
To clarify: is a CNAME for, so this simple solution will indeed work. The redirection is handled by the redirect_canonical function. In more complicated situations (where they are not on the same server), you need a more advanced setup. – Jan Fabry Feb 17 '11 at 14:04

1 Answer 1

up vote 1 down vote accepted

Yes. I just did an experiment on my own site to verify that changing those settings will redirect between www and non-www as you specify.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.