I’m going straight to the point here.
I actually install a wordpress site on a windows server.
however, when I visit the site on my browser using "sample.com.ph" it shows me error time out however when I visit the "www.sample.com.ph" it work just fine.

Here’s my web.config file.
I am really new to this so please bear with me.
what I want is to force it to redirect to a www..

<?xml version="1.0" encoding="UTF-8"?>
      <rule name="WordPress: http://www.sample.com.ph" patternSyntax="Wildcard">
        <match url="*"/>
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
        <action type="Rewrite" url="index.php"/>

Read more here: force redirect non www url to www


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: