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

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

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 *