<?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>djerk.nl &#187; mod_rewrite</title>
	<atom:link href="http://www.djerk.nl/wordpress/tag/mod_rewrite/feed" rel="self" type="application/rss+xml" />
	<link>http://www.djerk.nl/wordpress</link>
	<description>Anything related to Djerk Geurts may be found here (either locally or linked)</description>
	<lastBuildDate>Mon, 26 Jul 2010 04:45:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mod_rewrite = voodoo()</title>
		<link>http://www.djerk.nl/wordpress/2009/mod_rewrite-voodoo</link>
		<comments>http://www.djerk.nl/wordpress/2009/mod_rewrite-voodoo#comments</comments>
		<pubDate>Fri, 20 Feb 2009 19:10:55 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Main blog]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=199</guid>
		<description><![CDATA[Been hacking away as I found out I couldn&#8217;t edit a page nor did the page show up. My about page linked to the gallery instead. Spilt some blood and danced around on the keyboard loads. the result:
Note to self: DO NOT alter permalinks for pages! my about page was linked as who-am-i and this [...]]]></description>
			<content:encoded><![CDATA[<p>Been hacking away as I found out I couldn&#8217;t edit a page nor did the page show up. My about page linked to the gallery instead. Spilt some blood and danced around on the keyboard loads. the result:</p>
<p>Note to self: DO NOT alter permalinks for pages! my about page was linked as who-am-i and this caused major issues. I also turned off the automatic XHTML corrections in the write-options page, not sure what it does so I&#8217;d rather get an error when writing a page than have my site go down. Priorities they say&#8230;</p>
<p>next to that my gallery now runs mod_rewrite in safe mode which works fine and I&#8217;ve re-linked an image on my about page. I recon the link was old style from WP 2.3 and older versions of WPG2 and Gallery2.</p>
<p>Please let me know if you find any issues, particularly with missing images. I hope all is well now and my server won&#8217;t die another terrible dead due to rewite/permalink hell.</p>
<p>Finally I have found the real culprit: /.htaccess was messing with things. What made it hard to find was that this file has been in place for a few years now. Upgrading Wordpress to v2.7 as well as WPG2/Gallery2 tipped the balance.</p>
<p>What worked?<br />
<code>RewriteRule ^$ /wordpress/ [R=301,L]</code></p>
<p>Instead of:<br />
<code>RewriteCond %{REQUEST_URI} !^/.+<br />
RewriteRule ^(.*)$ /wordpress/ [R=301,L]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2009/mod_rewrite-voodoo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
