<?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>Peter Coughlin &#187; WordPress Config</title>
	<atom:link href="http://petercoughlin.com/category/wordpress-config/feed/" rel="self" type="application/rss+xml" />
	<link>http://petercoughlin.com</link>
	<description>Currently Focusing on WordPress Customization</description>
	<lastBuildDate>Mon, 12 Oct 2009 17:39:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Using a Static Front Page With WordPress</title>
		<link>http://petercoughlin.com/using-a-static-front-page-with-wordpress/</link>
		<comments>http://petercoughlin.com/using-a-static-front-page-with-wordpress/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 22:04:51 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[WordPress Config]]></category>
		<category><![CDATA[Front Page]]></category>
		<category><![CDATA[Static Front Page]]></category>

		<guid isPermaLink="false">http://petercoughlin.com/?p=146</guid>
		<description><![CDATA[It seems that the WordPress guys are getting the static front page functionality sorted out. I know it&#039;s been available for a while, but the truth is it&#039;s never worked very well until now.
When you go into your admin pages and choose Settings, Reading, you can specify whether you want to display your latest posts [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that the WordPress guys are getting the static front page functionality sorted out. I know it&#039;s been available for a while, but the truth is it&#039;s never worked very well until now.</p>
<p>When you go into your admin pages and choose Settings, Reading, you can specify whether you want to display your latest posts on the front page, or one of your existing pages, i.e. a static front page. You can also specify a page to display your posts.</p>
<p>The good thing about the latest version, is that all the &#034;behind the scenes&#034; stuff works. For example, the front page responds to the is_front_page() function whether you&#039;re displaying a static page or your latest posts.<span id="more-146"></span></p>
<p>The is_home() function returns true for the page displaying your latest posts. Be careful thought because this can change&#8230;</p>
<p>If you have your blog configured to show your latest posts on the front, then the front page will respond to the is_home() function.</p>
<p>If, however, you have a static front page, then it will be the page which you choose to display your latest posts that will respond to the is_home() function instead, and NOT the front page.</p>
<p>This setup is great if you have a site based completely on WordPress, but you want it to look like a normal website with a blog in a /blog/ subfolder for example. All you need to do is set a static page as the front page, and then choose a second page to display your blog posts, making sure the page slug for the second page is &#039;/blog/&#039;. That&#039;s it.</p>
<p>Now I no longer need any plugins to give me decent static front page functionality. Cool&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://petercoughlin.com/using-a-static-front-page-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m Ditching Post IDs In WordPress Permalinks</title>
		<link>http://petercoughlin.com/post-ids-wordpress-permalinks/</link>
		<comments>http://petercoughlin.com/post-ids-wordpress-permalinks/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 22:45:06 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[WordPress Config]]></category>
		<category><![CDATA[Permalinks]]></category>
		<category><![CDATA[Post ID]]></category>
		<category><![CDATA[Postname]]></category>

		<guid isPermaLink="false">http://petercoughlin.com/?p=104</guid>
		<description><![CDATA[You probably know that you can change the URL of your WordPress posts by using a custom permalink structure. I&#039;ve always done that, primarily for search engine benefit, and until just recently I&#039;ve been using a custom permalink structure of;
/%category%/%postname%-%post_id%/
This was all well and good, until I needed to move one of my blogs. I [...]]]></description>
			<content:encoded><![CDATA[<p>You probably know that you can change the URL of your WordPress posts by using a custom permalink structure. I&#039;ve always done that, primarily for search engine benefit, and until just recently I&#039;ve been using a custom permalink structure of;</p>
<p><code>/%category%/%postname%-%post_id%/</code></p>
<p>This was all well and good, until I needed to move one of my blogs. I couldn&#039;t do a database move and had to export and then import the blog content. That&#039;s when it all started to get messy. When I imported the posts into the new blog, all the post IDs changed.</p>
<p>You&#039;d sort of expect that really, but what I never thought about was that it also meant all the post permalinks changed too, because the post ID formed part of the URL. Ummm.. bad. Permalinks are supposed to be permanent.<span id="more-104"></span></p>
<p>So then what I had to do was start creating permalink redirects ..etc to make sure that people following the old links found the new posts, and this created a lot of what I&#039;d consider unnecessary work &#8211; which is something I am allergic to.</p>
<p>The WordPress documentation recommends using a number as part of your permalink structure, primarily to avoid confusion with existing files such as stylesheets ..etc so that&#039;s what I did. I did read somewhere that using the post ID can decrease server load, but I couldn&#039;t find that article again and I haven&#039;t heard anything about it since. Please let me know if you have any experience of that.</p>
<p>After a bit of a rethink about the problem caused by using post IDs in the permalink structure, I considered the available alternatives. Maybe I could use the minute from the post date? I&#039;m guessing that would be imported successfully, so my post URLs would stay the same if I ever needed to move a blog again.</p>
<p>But then I thought, just how likely is it that any of my post URLs will clash with any existing URLs, if I just use the category and post name? I think it&#039;s extremely unlikely.</p>
<p>So, in the absence of any real evidence that not using post IDs increases server load, and on the assumption that I&#039;m unlikely to have URL conflicts, I&#039;ve decided to use the following permalink structure;</p>
<p><code>/%postname%/</code></p>
<p>and if I ever need to move a blog again, I predict life will be very much easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://petercoughlin.com/post-ids-wordpress-permalinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
