<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jesal gadhia &#187; wordpress</title>
	<atom:link href="http://jesal.us/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://jesal.us</link>
	<description></description>
	<lastBuildDate>Fri, 19 Mar 2010 05:32:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Setup Pretty Premalinks for Wordpress on IIS7</title>
		<link>http://jesal.us/2009/06/pretty-premalinks-for-wordpress-on-iis7/</link>
		<comments>http://jesal.us/2009/06/pretty-premalinks-for-wordpress-on-iis7/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 02:58:36 +0000</pubDate>
		<dc:creator>J</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://jesal.us/blog/?p=152</guid>
		<description><![CDATA[If you&#8217;re running Wordpress on IIS7 like this blog and if you want clean URLs without the &#8220;index.php&#8221; you can do the following. 
Although before you get started you need to make sure you have FastCGI and URL Rewrite Module installed on your IIS7.
If you&#8217;re missing one of those things, you can check out these [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running Wordpress on IIS7 like this blog and if you want clean URLs without the &#8220;index.php&#8221; you can do the following. </p>
<p>Although before you get started you need to make sure you have FastCGI and URL Rewrite Module installed on your IIS7.</p>
<p>If you&#8217;re missing one of those things, you can check out these guides:</p>
<p>- <a href="http://learn.iis.net/page.aspx/460/using-url-rewrite-module/" target="_blank">Using URL Rewrite Module</a><br />
- <a href="http://learn.iis.net/page.aspx/375/setting-up-fastcgi-for-php/" target="_blank">Setting up FastCGI for PHP</a></p>
<p>Once you&#8217;ve done that, go to the &#8220;Settings&#8221; section in your Wordpress admin area and click on &#8220;Premalinks&#8221;:</p>
<p><img src="http://jesal.us/wp-content/uploads/premalinks-1024x524.jpg" alt="premalinks" title="premalinks"/></p>
<p>On that page, choose the &#8220;Custom, specify below&#8221; option and enter<br />
&#8220;/%year%/%monthnum%/%postname%/&#8221; (or any other format of your choosing) in the &#8220;Custom structure&#8221; text box.</p>
<p>After you save the settings, you&#8217;ll notice that all your blog posts will have their URLs in the format you specified earlier. Although if you try to click on one of them you&#8217;ll get a 404 &#8211; File Not Found error. Thats because we still haven&#8217;t told the server where to go when it gets those requests. </p>
<p>To do so, you&#8217;ll have to create a Web.Config file (if you don&#8217;t have one already) in the same directory as your Wordpress blog. Once you&#8217;ve done that, paste the following inside configuration->system.webServer element:</p>
<pre>
&lt;rewrite&gt;
    &lt;rules&gt;
        &lt;rule name="Main Rule" stopProcessing="true"&gt;
            &lt;match url=".*" /&gt;
            &lt;conditions logicalGrouping="MatchAll"&gt;
                &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;
                &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;
            &lt;/conditions&gt;
            &lt;action type="Rewrite" url="index.php" /&gt;
        &lt;/rule&gt;
    &lt;/rules&gt;
&lt;/rewrite&gt;
</pre>
<p><a href="http://jesal.us/wp-content/uploads/web.config.txt" target="_blank">Click here</a> to download the entire Web.Config file.</p>
<p>That rewrite rule we added above will match any requested URL and if that URL does not corresponds to a file or a folder on a file system, then it will rewrite the URL to Index.php. At that point, WordPress will determine which content to serve based on the REQUEST_URI server variable that contains the original URL before it was modified by the rule.</p>
<p>After you&#8217;ve saved the Web.config file, fire up any one of the permalinks in your WordPress blog. If everything went as expected, you&#8217;ll see the correct content returned by the web server for every permalink.</p>
]]></content:encoded>
			<wfw:commentRss>http://jesal.us/2009/06/pretty-premalinks-for-wordpress-on-iis7/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
