Step 1: Create web.config file for WordPress in IIS server on the root folder of WordPress installation if it does not exist.

Step 2: Use Paste following code


<configuration>
<system.webserver>
<rewrite>
<rules>
<rule name="”wordpress”" patternsyntax="”Wildcard”">
<match url="”*”"></match>
<conditions>
<add input="”{REQUEST_FILENAME}”" matchtype="”IsFile”" negate="”true”"></add>
<add input="”{REQUEST_FILENAME}”" matchtype="”IsDirectory”" negate="”true”"></add>
</conditions>
<action type="”Rewrite”" url="”index.php”"></action>
</rule>
</rules>
</rewrite>
</system.webserver>
</configuration>

And You are done! . Please ask here if any question. For Coding examples I them in really short blog because for such blog posts all that matter is correct code.


Sahil Ahlawat

I am a Sr. Web Developer passionate about blogging and teaching. When I am not coding or writing blogs, I prefer traveling (Which I like most). I am also doing a bit or research on Indian Startups now a days.

Leave a Reply

Your email address will not be published. Required fields are marked *