• I’m getting my feet wet with WordPress and have tried it on both Linux + Apache and Windows + IIS7. One thing I’ve noticed is that right out of the box with no additional configuration the www redirect works on Apache, but not on IIS.

    When I configured the site I used https://www.mysite.com, and that’s what the site name ended up getting set to. On the Apache hosted site it just works…going to mysite.com redirects to https://www.mysite.com. On IIS going to mysite.com leaves you at mysite.com.

    Is there any kind of PHP module or setting or something outside of WordPress that needs to be configured on Windows? Or is this possibly a bug in WP on Windows?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Login to your dashboard.
    go to Settings –> GEneral
    Check your website address and blog address. Add www in the URL

    Thread Starter johnclayton

    (@johnclayton)

    Both the website and blog addresses have the www. Under Apache the redirect worked, but under IIS it doesn’t.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Automatic www redirect doesn’t work on IIS’ is closed to new replies.