<?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>Joe-Ayala's Blog &#187; WordPress</title>
	<atom:link href="http://www.joe-ayala.com/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.joe-ayala.com</link>
	<description>Not your Average Joe's Blog</description>
	<lastBuildDate>Sat, 01 Mar 2008 05:49:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress mod_rewrite error</title>
		<link>http://www.joe-ayala.com/wordpress-mod_rewrite-error</link>
		<comments>http://www.joe-ayala.com/wordpress-mod_rewrite-error#comments</comments>
		<pubDate>Tue, 26 Feb 2008 08:07:21 +0000</pubDate>
		<dc:creator>Joe Ayala</dc:creator>
				<category><![CDATA[Tech Answers]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mod_rewrite]]></category>

		<guid isPermaLink="false">http://www.joe-ayala.com/wordpress-mod_rewrite-error</guid>
		<description><![CDATA[I&#8217;m in the process of setting up my blog.  I&#8217;m trying to become a blogger and try to do everything the SEO way.  Well one of my buddies, who knows way more about SEO than I do, suggesting having all your posts showing clean in the address bar.  
For example my posts would [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m in the process of setting up my blog.  I&#8217;m trying to become a blogger and try to do everything the <a href="http://en.wikipedia.org/wiki/Search_engine_optimization" target="_blank">SEO</a> way.  Well one of my buddies, who knows way more about <a href="http://en.wikipedia.org/wiki/Search_engine_optimization" target="_blank">SEO</a> than I do, suggesting having all your posts showing clean in the address bar.  </p>
<p>For example my posts would come up like this:<span class="Apple-tab-span" style="white-space: pre">	</span><span class="Apple-tab-span" style="white-space: pre">	</span><span class="Apple-tab-span" style="white-space: pre"></span><span style="white-space: pre" class="Apple-tab-span">	</span></p>
<p><span style="white-space: pre" class="Apple-tab-span"></span><span class="Apple-tab-span" style="white-space: pre">	</span>www.joe-ayala.com/index.php/02/25/08/WordPress-mod_rewrite-error/</p>
<p>As I learned today that is not very clean or SEO friendly.  So my friend, <a href="http://www.brandon-hopkins.com/" target="_blank">Brandon Hopkins</a> suggested that I try to have my posts look like this:<span class="Apple-tab-span" style="white-space: pre">	</span><span class="Apple-tab-span" style="white-space: pre">	</span><span class="Apple-tab-span" style="white-space: pre"></span><span style="white-space: pre" class="Apple-tab-span">	</span></p>
<p><span style="white-space: pre" class="Apple-tab-span"></span><span style="white-space: pre" class="Apple-tab-span">	</span>www.joe-ayala.com/WordPress-mod_rewrite-error/</p>
<p>Well easier said than done.  I originally installed <a href="http://www.wordpress.org" target="_blank">WordPress</a> using <a href="http://en.wikipedia.org/wiki/Fantastico_(web_hosting)" target="_blank">Fantastico</a> through my host.  No matter what Brandon or I tried we couldn&#8217;t get it to work.  So I took the parable that <a href="http://www.biblegateway.com/passage/?search=Matthew%207:24-27" target="_blank">Jesus gave about building your house on sand compared to on rock</a>, so I decided to delete it and reinstall it through regular FTP.  So I downloaded from <a href="http://www.wordpress.org" target="_blank">WordPress.org</a> and set up my database manually.  This is what Fantastico set up for me automatically. </p>
<p>So I got everything set up and tried to go to Options and Permalinks to set it my path to &#8220;/%postname%&#8221;.  Yet it still didn&#8217;t work.  Checked the permission of my <a href="http://httpd.apache.org/docs/1.3/howto/htaccess.html" target="_blank">.htaccess</a> file, still nothing worked.  So I did some research and found that their is module called mod_rewrite that needs to be turned on, and some web hosts don&#8217;t have it on.  So I contacted my web host and they said it was possible and sent me a link that didn&#8217;t work.  So I started searching again and found this post:  <a href="http://wordpress.org/support/topic/158680" target="_blank">mod_rewrite htaccess MYSTERY</a> </p>
<p>The poster posted this script in order to get .htaccess to work:</p>
<p># BEGIN WordPress<br />
RewriteEngine On<br />
RewriteBase /wordpress/<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /wordpress/index.php [L]<br />
# END WordPress</p>
<p>Now I had to change RewriteBase and RewriteRule to where my WordPress folder is located.  Be careful to keep the &#8220;.&#8221; in the RewriteRule, if you don&#8217;t the .htaccess still won&#8217;t work.</p>
<p>Well after this my posts finally looked pretty and clean. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.joe-ayala.com/wordpress-mod_rewrite-error/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
