<?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>Poiesis Web Development &#187; double index.php</title>
	<atom:link href="http://www.poiesis.co.za/index.php/tag/double-indexphp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.poiesis.co.za</link>
	<description>Becasue IT matters</description>
	<lastBuildDate>Mon, 14 Jun 2010 12:33:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Double index.php problem</title>
		<link>http://www.poiesis.co.za/index.php/2009/06/double-indexphp-problem/</link>
		<comments>http://www.poiesis.co.za/index.php/2009/06/double-indexphp-problem/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 21:00:48 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[double index.php]]></category>
		<category><![CDATA[posts_nav_link]]></category>

		<guid isPermaLink="false">http://www.poiesis.co.za/?p=60</guid>
		<description><![CDATA[We&#8217;ve recently upgraded our WordPress installation to WordPress 2.8 and realized just why I hate upgrading WordPress! On the 2.7.1 version the NEXT POSTS / PREVIOUS POSTS link at the bottom of the page worked perfectly, but after the upgrade it pointed erroneously to http://www.poiesis.co.za/index.php/Index.php/page/2/. I&#8217;m sure you can see the problem there: the double [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.poiesis.co.za/wp-content/uploads/2009/06/wordpress-150x150.gif" alt="WordPress" title="WordPress" width="150" height="150" class="alignleft size-thumbnail wp-image-70" />We&#8217;ve recently upgraded our WordPress installation to WordPress 2.8 and realized just why I hate upgrading WordPress! On the 2.7.1 version the NEXT POSTS / PREVIOUS POSTS link at the bottom of the page worked perfectly, but after the upgrade it pointed erroneously to <code>http://www.poiesis.co.za/index.php/Index.php/page/2/</code>. I&#8217;m sure you can see the problem there: the double index.php in the URL! The solution to the problem is simple: open the formatting.php in wp-includes and add the following line in the <code>function clean_url</code> after the <code>if ('' == $url) return $url;</code> statement:</p>
<p><code>$url = str_replace('index.php/Index.php','index.php',$url);</code></p>
<p><span id="more-60"></span>The only problem is you need to remember to add the line again every time you upgrade WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.poiesis.co.za/index.php/2009/06/double-indexphp-problem/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
