<?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>Havoc Inspired &#187; Wordpress</title>
	<atom:link href="http://www.havocinspired.co.uk/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.havocinspired.co.uk</link>
	<description>Home of Ryan Taylor</description>
	<lastBuildDate>Tue, 25 May 2010 21:20:33 +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>Edit your hosts file to test your website before it goes live</title>
		<link>http://www.havocinspired.co.uk/tutorial/edit-your-hosts-file-to-test-your-website-before-it-goes-live/</link>
		<comments>http://www.havocinspired.co.uk/tutorial/edit-your-hosts-file-to-test-your-website-before-it-goes-live/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 21:43:13 +0000</pubDate>
		<dc:creator>Ryan Taylor</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=958</guid>
		<description><![CDATA[This is a little trick I've picked up that helped me out quite a bit, especially when developing Wordpress sites where you need to get the paths and URLs right for everything to work properly.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.havocinspired.co.uk%2Ftutorial%2Fedit-your-hosts-file-to-test-your-website-before-it-goes-live%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.havocinspired.co.uk%2Ftutorial%2Fedit-your-hosts-file-to-test-your-website-before-it-goes-live%2F&amp;source=ryanhavoc&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a little trick I&#8217;ve picked up that helped me out quite a bit, especially when developing Wordpress sites where you need to get the paths and URLs right for everything to work properly.</p>
<h3>The scenario</h3>
<blockquote><p>You’re hired to do the redesign of an existing website (example.com). Your client wants to move their website to your hosting (or new hosting) when the redesign goes live. You’ve agreed on a seamless transition from old to new on one sunny Monday morning in a months time.</p>
<p>So you get to work on the site in your chosen development area, demo it to the client, they’re happy and you transfer the site to the newly configured hosting space on your server, however the name servers for example.com haven’t been changed yet, it’s only Friday and the redesign isn’t going live until Monday, but you’re a contentious developer and you want to test the new design to ensure everything is working as expected in the live environment.</p>
<p>What do you do?</p></blockquote>
<h3>Our goal</h3>
<p>We’re going to edit the hosts file on our Mac to make our servers IP address (e.g. 70.26.55.80) resolve to example.com, just like what a DNS server does when example.com&#8217;s name servers have been changed to point to the new hosting.</p>
<h3>Configuring the server</h3>
<p>All server configurations are different but the principle is generally the same, we need to find out/set our example.com to appear in the web browser when we visit our example IP of 70.26.55.80. For this example I’m going to explain the process on a Plesk driven server (from this you should be able to get an idea of how this would be achieved through other management software packages).</p>
<ul>
<li>Configure your web space for example.com and upload all your files to it</li>
<li>Login to Plesk</li>
<li>Select <strong>Server</strong> from the left-hand menu</li>
<li>Go to the <strong>IP Addresses</strong> – This should present you with a list of IP addresses assigned to your server,  when you configured the hosting for example.com you will have selected one of these IP addresses (you may even only have one IP address in this list)</li>
<li>For each IP address there’s a column titled <strong>Hosting</strong> with a link showing the number of domains assigned to that IP address, click the link that corresponds with the IP address you selected for the web space</li>
<li>Select <strong>example.com</strong> and click<strong> Set As Default </strong>- You can only select one default domain to be displayed if you visit that IP address in a browser</li>
<li>Make a note of the IP address (e.g. 70.26.55.80)</li>
<li>Visit 70.26.55.80 in a web browser – You should be presented with your newly uploaded site for example.com</li>
</ul>
<h3>Editing the hosts file</h3>
<p>Mac’s have a hosts file that we can edit to make 70.26.55.80 resolve to example.com just as if the name servers for example.com had already been changed (obviously this only effects the Mac you are on).</p>
<p>I’m sure you’ll be able to do this on a PC as well but don’t ask me how, I’m a Mac man.</p>
<ul>
<li>Open a <strong>Terminal</strong></li>
<li>Enter <code>sudo vim /etc/hosts</code> then enter your administrator password</li>
</ul>
<p>This will open the hosts file in the vim editor. You should see something like this:</p>
<pre class="brush: plain;">
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost
</pre>
<p>To edit the file press ‘<strong>a</strong>’, cursor down to the bottom of the list and enter:</p>
<pre class="brush: plain;">
70.26.55.80       example.com
</pre>
<p>Press ‘<strong>esc</strong>’ then enter ‘<strong>:wp</strong>’ to write and quit vim.</p>
<p>If you now visit example.com in your web browser it should resolve to 70.26.55.80 (the new hosting) and you can test your newly designed site in its live environment.</p>
<p>Now all that has to be done to make the site seamless go live on Monday is change the name servers for example.com to point to your hosting and you can guarantee that everything will work.</p>
<p><em>Important note: Remember to take the entry for example.com out of your hosts file when you have finished testing, otherwise you may end up seeing a false representation of what is actually being displayed at that domain when the name servers are changed!</em></p>
<p>Final Tip: Instead of removing the line completely from your hosts file simply add a # to the beginning of the line. This &#8220;comments out&#8221; the line and stops it from being applied. If this is a process that you are going to use regularly in the future then the line is already in your hosts file and you can simply remove the # and change the domain name when you need to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.havocinspired.co.uk/tutorial/edit-your-hosts-file-to-test-your-website-before-it-goes-live/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>6 Essential Plugins for Wordpress Developers</title>
		<link>http://www.havocinspired.co.uk/wordpress/6-essential-plugins-for-wordpress-developers/</link>
		<comments>http://www.havocinspired.co.uk/wordpress/6-essential-plugins-for-wordpress-developers/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 22:00:53 +0000</pubDate>
		<dc:creator>Ryan Taylor</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=621</guid>
		<description><![CDATA[I seem to be developing a lot of Wordpress sites recently and thought I'd share with you 6 of the plugins I've been finding invaluable. ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.havocinspired.co.uk%2Fwordpress%2F6-essential-plugins-for-wordpress-developers%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.havocinspired.co.uk%2Fwordpress%2F6-essential-plugins-for-wordpress-developers%2F&amp;source=ryanhavoc&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>I seem to be developing a lot of <a href="http://www.wordpress.org">Wordpress</a> sites recently and thought I&#8217;d share with you 6 of the plugins I&#8217;ve been finding invaluable.</p>
<h3>WP Dummy Content</h3>
<p>If you’re building a theme for a brand new blog that doesn’t have any posts or pages it’s a nightmare having to create these one by one so that you have some content to work with.</p>
<p>WP Dummy Content to the rescue! It allows you to add any number of random posts of categories as well as pages, nicely filling up the site with content. And when you are done, there’s a delete all button that removes the dummy content (but not any posts or pages that you may have entered manually).</p>
<p><a href="http://wordpress.org/extend/plugins/wp-dummy-content/">http://wordpress.org/extend/plugins/wp-dummy-content/</a></p>
<h3>Redirection</h3>
<p>If you’re migrating a site that was previously running on a different previous blogging platform, such as Movable Type, you may find that the URLs for your posts no longer match. Obviously you want to avoid dead links.</p>
<p>Instead of writing redirect rules directly into your .htaccess file, you can use the Redirection plugin to manage them.</p>
<p>You simply enter the old URL along with the new URL. Simple!</p>
<p><a href="http://wordpress.org/extend/plugins/redirection/">http://wordpress.org/extend/plugins/redirection/</a></p>
<h3>Improved Include Page</h3>
<p>Thanks goes to <a href="http://www.elliotjaystocks.com">Mr Stocks</a> for suggesting this one to me. :-)</p>
<p>Improved Include Page lets you pull any pages content into another page. For example if you have an About page with three areas of content, one of the areas could be the content of the About page itself, and the other two could be split into sub-pages. You can then create a custom-template for the About page and use the Improved Include Page to pull them all together. Quite handy if you want to have something more diverse than a single block of content on your page.</p>
<p><a href="http://wordpress.org/extend/plugins/improved-include-page/ ">http://wordpress.org/extend/plugins/improved-include-page/ </a></p>
<h3>Update URLs</h3>
<p>If you’re like me, you’ll develop your sites in a client or development area before making them live. In Wordpress, URLs for your images in particular are hard coded into you posts/pages. Everything works fine until you make the site live, then you have to go through and update all your URLs?</p>
<p>Not with the Update URLs plugin!</p>
<p>Simple enter your development area URL:</p>
<p><strong>http://clients.example.com/clientsite/</strong></p>
<p>And the replacement URL:</p>
<p><strong>http://www.clientsite.com</strong></p>
<p>Click Update URLs and you’re done.</p>
<p><a href="http://wordpress.org/extend/plugins/velvet-blues-update-urls/">http://wordpress.org/extend/plugins/velvet-blues-update-urls/</a></p>
<h3>Maintenance Mode</h3>
<p>I’ve built sites for clients who want to write a few blogs and learn their way around Wordpress before they make the site live. The maintenance mode plugin is quite hand for this. You can activate the plugin and a splash screen appears to all visitors, logged in administrators still see the front-end of the site as normal.</p>
<p>You can even create a 503.php template so that you can customise the look and feel to your hearts content!</p>
<p><a href="http://wordpress.org/extend/plugins/maintenance-mode/">http://wordpress.org/extend/plugins/maintenance-mode/</a></p>
<h3>Scissors</h3>
<p>Not really essential but the Scissors plugin adds the facility to resize, crop and rotates images. Much needed additional functionality for the media library in my book.</p>
<p><a href="http://wordpress.org/extend/plugins/scissors/">http://wordpress.org/extend/plugins/scissors/</a></p>
<h3>Any more?</h3>
<p>Have you guys come across any additional plugins for wordpress that you just couldn&#8217;t live without?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.havocinspired.co.uk/wordpress/6-essential-plugins-for-wordpress-developers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>thehodge.co.uk Redesign</title>
		<link>http://www.havocinspired.co.uk/portfolio/thehodgecouk-redesign/</link>
		<comments>http://www.havocinspired.co.uk/portfolio/thehodgecouk-redesign/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 17:50:32 +0000</pubDate>
		<dc:creator>Ryan Taylor</dc:creator>
				<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=30</guid>
		<description><![CDATA[The infamous Dom "The Hodge" Hodgson approached me to design him a Wordpress theme that was "professional but not formal and suited his personality". A cartoon Hodge was the first thing that sprung to mind.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.havocinspired.co.uk%2Fportfolio%2Fthehodgecouk-redesign%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.havocinspired.co.uk%2Fportfolio%2Fthehodgecouk-redesign%2F&amp;source=ryanhavoc&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<div id="attachment_104" class="wp-caption aligncenter" style="width: 250px"><img class="size-full wp-image-104" title="thehodgecouk" src="http://www.havocinspired.co.uk/wp-content/uploads/2009/04/thehodgecouk.jpg" alt="thehodge.co.uk Redesign" width="240" height="180" /><p class="wp-caption-text">thehodge.co.uk Redesign</p></div>
<p>So I drew two cartoons of Dom, one for the top of the page (Guitar Hero’s Dom) and one for the bottom (Slumped Dom). The grundy style to the blog evolved naturally after that.</p>
<p class="caption center" style="width: 500px;">
<div id="attachment_99" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-99" title="dom-cartoons" src="http://www.havocinspired.co.uk/wp-content/uploads/2009/04/dom-cartoons.jpg" alt="Guitar Hero’s Dom &amp; Slumped Dom" width="500" height="240" /><p class="wp-caption-text">Guitar Hero’s Dom &amp; Slumped Dom</p></div>
<p><strong>Linkage:</strong> <a href="http://www.thehodge.co.uk">thehodge.co.uk</a></p>
<p>Let me know what you think of the final result?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.havocinspired.co.uk/portfolio/thehodgecouk-redesign/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
