Forums

[resolved] Non-www redirects to primary domain (3 posts)

  1. frisco
    Member
    Posted 1 year ago #

    I've tried searching for my situation, and found the thread linked below but it seemed to end at "really weird".

    http://wordpress.org/support/topic/non-www-redirects-to-incorrect-address

    I have multisite setup on WP 3.1.1 and working with WordPress MU Domain Mapping running. It's on a Hostgator VPS where I am using subdomains off my primary domain for multisite.

    I have DOMAIN_CURRENT_SITE set to the www version of my primary domain, and I have NOBLOGREDIRECT set to the www version of my primary domain, with http://

    I bought a domain, parked it, and mapped the parked domain to the WWW version. I'm also using W3 Total Cache on the primary domain, but not the subdomain accessed via the parked domain.

    Everything is working fine as long as I enter WWW when accessing the parked domain. However, if I omit the WWW, the URL redirects to my primary domain. I'd like the parked domain accessed without the WWW to redirect to the parked domain with WWW.

    Any idea why or what I can do to fix this?

  2. Andrea_r
    team pirate
    Posted 1 year ago #

    Map the non-www version as well.

  3. frisco
    Member
    Posted 1 year ago #

    Worked like a charm. Many thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic