<?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>Macro Root URI &#8211; Blogvaria</title>
	<atom:link href="https://blog.evaria.com/key/macro-root-uri/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.evaria.com</link>
	<description>The personal pages</description>
	<lastBuildDate>Thu, 26 Jun 2008 11:06:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
<site xmlns="com-wordpress:feed-additions:1">1077093</site>	<item>
		<title>New WP Plugin &#8211; Macro Root URI</title>
		<link>https://blog.evaria.com/2008/new-wp-plugin-macro-root-uri/</link>
					<comments>https://blog.evaria.com/2008/new-wp-plugin-macro-root-uri/#comments</comments>
		
		<dc:creator><![CDATA[Thomas]]></dc:creator>
		<pubDate>Thu, 26 Jun 2008 11:06:34 +0000</pubDate>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Macro Root URI]]></category>
		<category><![CDATA[plugin]]></category>
		<guid isPermaLink="false">http://blog.evaria.com/?p=884</guid>

					<description><![CDATA[I&#8217;ve currently been working on an update for one of the companies websites. The whole site runs on WordPress, my &#8220;new&#8221; favourite CMS. However, before going live the site is &#8230; ]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve currently been working on an update for one of the companies websites. The whole site runs on WordPress, my &#8220;new&#8221; favourite CMS. However, before going live the site is running on a different location than when ready. I noticed that the import/export feature doesn&#8217;t change the URI&#8217;s inside the posts and pages. Concequently I needed something to make the &#8220;move&#8221; as quick and automatic as possible.</p>
<p>Inspired by Alex King&#8217;s &#8220;<a href="http://alexking.org/projects/wordpress" target="_blank">Shortcut Macros</a>&#8221; plugin I decided to make something similar that would convert any root URI references with a macro, ##root to be specific. To illustrate lets say your domain is http://www.example.com. So whenever you write or update a page/post the following will happen ;</p>
<p><em>http://www.example.com</em>/link/to/page_or_post -&gt; <em>##root</em>/link/to/page_or_post</p>
<p>When viewing the page the plugin will automatically reconvert #root to your blogs URI as defined by <a href="http://codex.wordpress.org/Option_Reference" target="_blank">get_option(&#8216;home&#8217;)</a>. This way your internal links will always be uptodate wherever you move your blog.</p>
<p><a href="https://blog.evaria.com/downloads/">Grab the code and instructions from the download page</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.evaria.com/2008/new-wp-plugin-macro-root-uri/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">884</post-id>	</item>
	</channel>
</rss>
