Support » Fixing WordPress » no www address redirect issue with IIS on wordpress

  • richlondon


    I have the site which is running on IIS
    When someone types in “” they get redirected to a 404 page, where is trying to find the page

    I’m guessing that my web.config file needs some tweaking am I correct?
    It currently has the line
    “<httpRedirect enabled=”false” destination=”” childOnly=”true” httpResponseStatus=”Permanent” />”

    when I set it to true the browsers can’t get to the site..

    Can someone help please?

    thanks in advance


Viewing 3 replies - 1 through 3 (of 3 total)
  • richlondon


    Can anyone help me with this please?




    solved it with this rule..

    <rule name=”Redirect to WWW” stopProcessing=”true”>
    <match url=”.*” />
    <add input=”{HTTP_HOST}” pattern=”^$” />
    <action type=”Redirect” url=”{R:0}”
    redirectType=”Permanent” />

    placing this as the very first rule.



    Forum Moderator

    Try resetting your custom permalinks back to the default setting via Settings -> Permalinks. If this works, then review Using_Permalinks before setting a custom permalink structure back up again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘no www address redirect issue with IIS on wordpress’ is closed to new replies.