Mar 27

Getting WordPress Pretty Permalinks working on IIS (Windows Hosting)

WordPress Pretty Permalinks working on IIS

“Pretty” permalinks usually require mod_rewrite, and IIS (common on Windows servers) does not support mod_rewrite.

I have used below steps to make it work on my site. hope this will also work for you.
Special Thanks to below blogs which help a lot to make it work on my site.

Use the following instructions to create pretty permalinks for your blog posts.

To enable pretty permalinks in Word Press:

  1. Log on to WordPress with Administrator user rights.
  2. In WordPress, go to Setting and click the Permalinks.
    This will take you to the page where you can customize how WordPress generates permalinks for blog posts.
    Make sure to open it in one more tab opened( we will use this extra tab to change the setting if this didn’t workout)
  3. On the Permalinks page, select Custom, specify below and enter “/index.php/%year%/%monthnum%/%day%/%postname%/” in the Custom structure text box. (In my case i simply selected the second option)
  4. Click Save Button

WordPress PermaLink

Creating a Rewrite Rule
Open the Web.config file that is located in the same directory where the WordPress files are installed, and paste the following XML section into the system.webServer element(if its not there than create one):

<rule name=”Main Rule” stopProcessing=”true”>
<match url=”.*” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
<action type=”Rewrite” url=”index.php/{R:0}” />

Now test your site i.e (replace zappmania with your site address)
if it gives you an error than try
if it shows you site correctly than follow below steps to make it redirect on this every time any user type your site address

  1. Go to setting and click on General
  2. In General add /index.php in Site Address (URL) box ie.
  3. Now Click on Save Button.

WordPress General Setting Page

🙂 !!!NOW ENJOY – Happy Blogging!!!  🙂 

Permanent link to this article:


Skip to comment form

    • lista de email on April 13, 2013 at 2:10 am
    • Reply

    i really like your style of blogging. thank you for sharing with us.

    • Simple backlink generator on April 14, 2013 at 10:46 pm
    • Reply

    Putting in No Hands WEB OPTIMIZATION and getting your internet-site entered inside ready for promo is literally some sort of 2 minute job. Within a few minutes from paying for you can have your 24 hours a day backlinker on your side.

    • lista de email on April 20, 2013 at 4:40 pm
    • Reply

    i really appreciate your working style writing style of the article is really exceptional.

    • lista de email on April 22, 2013 at 7:31 am
    • Reply

    really impressed! everything is very open and very clear explanation of issues. it contains truly information. your website is very useful. thanks for sharing.

    • lista de email on April 25, 2013 at 6:13 pm
    • Reply

    thanks for this article, it really enlightened me on my strategic approach to websites. thanks again.

    • Emmett on September 19, 2013 at 7:58 am
    • Reply

    First of all I would like to say wonderful blog! I had a quick
    question in which I’d like to ask if you don’t mind. I was interested to find out how you center
    yourself and clear your thoughts before writing. I have had a hard time clearing my mind in getting my thoughts out.
    I truly do take pleasure in writing but it just seems like the first 10 to 15 minutes are usually
    wasted just trying to figure out how to begin.
    Any ideas or hints? Cheers!

    • mosquito repellent bands on June 1, 2016 at 7:19 am
    • Reply

    I enjoy the tips on this web site, they’re always to the point and just the information I was seeking for

    • Martin Matkowski on August 16, 2016 at 8:08 am
    • Reply

    Great Article and Information. Have a great day!!!

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.