<?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>Shepline Creative &#187; permalinks</title>
	<atom:link href="http://creative.shepline.com/tag/permalinks/feed/" rel="self" type="application/rss+xml" />
	<link>http://creative.shepline.com</link>
	<description>design, maintenance and support for the online world</description>
	<lastBuildDate>Thu, 10 Mar 2011 15:57:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
		<item>
		<title>Setting permalinks in WordPress</title>
		<link>http://creative.shepline.com/2009/09/23/permalinks-in-wordpress/</link>
		<comments>http://creative.shepline.com/2009/09/23/permalinks-in-wordpress/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 10:26:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[tips'n'tricks]]></category>
		<category><![CDATA[permalinks]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://creative.shepline.com/?p=232</guid>
		<description><![CDATA[For my sins, I use a webhost which works on Windows servers. For the most part, it makes not a jot of difference to me but does cause a few headaches when setting up sites using a wordpress install at the base of it. In particular setting nice pretty permalinks when I don&#8217;t have access [...]]]></description>
			<content:encoded><![CDATA[<p>For my sins, I use a webhost which works on Windows servers. For the most part, it makes not a jot of difference to me but does cause a few headaches when setting up sites using a wordpress install at the base of it. In particular setting nice pretty permalinks when I don&#8217;t have access to IIS mod rewrite rules&#8230;</p>
<p>I did manage it on <a href="http://creative.shepline.com">this very site</a>Â eventually, but it wasn&#8217;t straight forward particularly as I needed a separate 404 redirect for the subdomain (which I didn&#8217;t have access to). Setting up <a href="http://bvtoday.net">the new BVToday.net website</a>Â is more straight forward, but I thought I would post <a href="http://www.keyboardface.com/archives/2007/09/07/update-for-wordpress-permalinks-on-iis/">the solution here, partly for my own future benefit</a>:</p>
<h3>Requirements and Install instructions:</h3>
<ul>
<li>IIS for Windows</li>
<li>WordPress</li>
<li>Ability to change your 404 error page with your web host.</li>
</ul>
<p>To install, copy and paste this text into a file named <strong>wp-404-handler.php</strong>:</p>
<blockquote><p><code>&lt;?php<br />
$qs = $_SERVER['QUERY_STRING'];<br />
$_SERVER['REQUEST_URI'] = substr($qs, strpos($qs, ':80')+3);<br />
$_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];<br />
include('index.php');<br />
?&gt;</code></p></blockquote>
<p>Next set the 404 error page to /wp-404-handler.php. If it gives you a choice between <strong>file</strong> and <strong>url</strong>, choose <strong>url</strong>.</p>
<p>Lastly, make sure you enable permalinks in the WordPress control panel under Options &gt; Permalinks.</p>
<p>This solution supercedes <a href="http://www.keyboardface.com/iis-permalinks/">the ASP solution</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://creative.shepline.com/2009/09/23/permalinks-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

