Support » Installing WordPress » First Installation

  • Resolved davidduncan17


    I use 123-Reg as the host for me website. They have given me the following to create a txt file, edit it and save it as a web.config file and then upload it into the content folder.

    I want to check where I am to edit the file and that I am editing it correctly. Can someone help me please?

    Here is the detail~:-

            <rule name="CanonicalHostNameRule2" stopProcessing="true">
              <match url="(.*)" />
                  <add input="{HTTP_HOST}" pattern="^domain\.com$" />
                <action type="Redirect" url="{R:1}" />
            <rule name="CanonicalHostNameRule1" stopProcessing="true">
              <match url="^(\w*/)?index\.php" />
    	      <add input="{HTTP_HOST}" pattern="domain\.com$" />
                <action type="Redirect" url="{R:1}" />
            <rule name="wordpress" 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" />
Viewing 3 replies - 1 through 3 (of 3 total)
  • This is a Web Config file for Microsoft IIS. Your host probably just wants you to replace ‘domain’ with YOUR actual domain name.

    If you are having trouble with this and are new to WordPress and this is a new hosting account I would ask them to switch it to a linux server (instead of IIS) as it will be easier to install, maintain, and get support. I’m not suggesting one is better than the other just pointing out that it is easier for beginners to work with Linux 🙂


    Thanks for that I will give it a go

    Hi, just an update

    Only once I used Filezilla and deleted the original WordPress Installation and all the files and loaded it into a different directory did it work. I have no idea why it took 123-Reg so many attempts to give me this final easy to use piece of advice? But now, just as I was about to abandon ship I have it all working….all hail Percy Verence!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘First Installation’ is closed to new replies.