Mar 27

Print this Post

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 www.zappmania.in (replace zappmania with your site address)
if it gives you an error than try www.zappmania.in/index.php
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. www.yoursite.com/index.php
  3. Now Click on Save Button.

WordPress General Setting Page

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

Permanent link to this article: http://www.zappmania.in/2013/03/27/getting-wordpress-pretty-permalinks-working-on-iis-windows-hosting.htm


Skip to comment form

  1. lista de email

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

  2. Simple backlink generator

    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.

  3. lista de email

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

  4. lista de email

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

  5. lista de email

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

  6. Emmett

    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!

  7. mosquito repellent bands

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

  8. Martin Matkowski

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


Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">