Take the 2-minute tour ×
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 alexangas.com and would like to move it to www.alexangas.com.

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

share|improve this question
    
To clarify: www.alexangas.com is a CNAME for alexangas.com, 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

 
discard

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.