WordPress.org

Ready to get started?Download WordPress

Forums

301 Redirect question (non www to www) (2 posts)

  1. LotteMae
    Member
    Posted 1 year ago #

    I'm sure this normally works where if you set the site address in Settings -> General to be http://www.sitename.com then any non-www urls will be redirected.

    It doesn't seem to be working on my site, which is more of an issue as my theme doesn't work unless the www is specified:

    http://www.xosoftware.co.uk <- This works fine
    http://xosoftware.co.uk <- This doesn't load properly so I need it to redirect to www.

    In Settings -> General I have both WordPress Address (URL) and Site Address (URL) set to use www.

    This post says the redirect should be automatic in later versions of WordPress:

    http://wordpress.org/support/topic/301-redirect-question-www-to-non-www

    Any help appreciated.

  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    A) Use just your Domain in both the WP and Site Addresses: AFTER...
    B) Verify with host that a proper name record for your DNS (www.) will work (not a WP issue, a host issue)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags