<?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>Lamespotting &#187; Wordpress</title>
	<atom:link href="http://lamespotting.com/cat/tech/wordpress-tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://lamespotting.com</link>
	<description>New content whenever I can think of something to write</description>
	<lastBuildDate>Mon, 14 May 2012 12:40:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Howto: Fix WordPress 2.6 broken permalinks</title>
		<link>http://lamespotting.com/2008/07/28/howto-fix-wordpress-26-broken-permalinks/</link>
		<comments>http://lamespotting.com/2008/07/28/howto-fix-wordpress-26-broken-permalinks/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 02:08:39 +0000</pubDate>
		<dc:creator>Lamespotting</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lamespotting.com/?p=18</guid>
		<description><![CDATA[So you run your own server and have your blog on it.  The wp-admin dashboard told you to upgrade to wordpress 2.6 and since you did that, none of your permalinks work because they looked like: http://lamespotting.com/index.php/2008/06/18/back-again/ Of course, that makes you mad as that breaks all your google indexes and facebook imported notes. Fear [...]]]></description>
			<content:encoded><![CDATA[<p>So you run your own server and have your blog on it.  The wp-admin dashboard told you to upgrade to wordpress 2.6 and since you did that, none of your permalinks work because they looked like:</p>
<p><span style="color: #000080;">http://lamespotting.com/index.php/2008/06/18/back-again/</span></p>
<p>Of course, that makes you mad as that breaks all your google indexes and facebook imported notes.</p>
<p>Fear not! The fix is simple.  Just go to the wp-admin page, choose &#8220;settings&#8221; (top right of the screen), then &#8220;Permalinks&#8221; and choose &#8220;Day and Name&#8221;, hit save and it should look like:</p>
<p><img class="alignnone" style="border: 2px solid black;" title="Screenshot" src="http://terhune.net/lamespotting/ksnap1.png" alt="Dont worry if you cant see this, it isnt all that important" width="516" height="516" /></p>
<p>So if it looks like the above, test it out and you should be good.</p>
<p>If it says &#8220;You should update your .htaccess now&#8221; then you need to do this:</p>
<p>(Assuming you have shell access on your server)</p>
<ul>
<li>cd into the directory that houses your wordpress</li>
<li>touch .htaccess</li>
<li>chmod 666 .htaccess</li>
<li>Go back to the admin page and save the changes (it should now say &#8220;Permalink structure updated&#8221;)</li>
<li>chmod 644 .htaccess</li>
</ul>
<p>Now, go and test one of the permalinks from the main page of your blog.  It should work now, if you get a 404, you need to edit your apache config.  You&#8217;ll need to edit your httpd.conf (or /etc/apache2/sites-available/ file if you&#8217;re on Debian or Ubuntu) and add the lines in bold below</p>
<p><span style="color: #000080;">&lt;VirtualHost *:80&gt;<br />
ServerAdmin webmaster@dummy-host.example.com<br />
DocumentRoot /var/www/html/lamespotting.com<br />
ServerName lamespotting.com<br />
ServerAlias www.lamespotting.com<br />
<strong>Options FollowSymLinks<br />
&lt;Directory /&gt;<br />
AllowOverride FileInfo<br />
&lt;/Directory&gt;</strong><br />
ErrorLog logs/lamespotting-error_log<br />
CustomLog logs/lamespotting-access_log combined<br />
&lt;/VirtualHost&gt;</span></p>
<p>You should now be in business.  If you can&#8217;t access your httpd.conf, then the problem may be with the .htaccess file.  Check with your web host provider (if it isn&#8217;t your server) about being able to edit the .htaccess file, which should look like:</p>
<pre><span style="color: #000080;"># BEGIN WordPress
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&lt;/IfModule&gt;
# END WordPress</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://lamespotting.com/2008/07/28/howto-fix-wordpress-26-broken-permalinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

