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?

  • 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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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