<?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>BittBox &#187; Web Design</title>
	<atom:link href="http://www.bittbox.com/tag/web-design/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bittbox.com</link>
	<description>Free high quality design resources, tutorials and tips for graphic and web designers</description>
	<lastBuildDate>Tue, 07 Feb 2012 16:01:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Easily make sexy error messages in WordPress (and everything else)</title>
		<link>http://www.bittbox.com/general-web-design/easily-make-sexy-error-messages-in-wordpress-and-everything-else</link>
		<comments>http://www.bittbox.com/general-web-design/easily-make-sexy-error-messages-in-wordpress-and-everything-else#comments</comments>
		<pubDate>Wed, 13 Jul 2011 20:25:01 +0000</pubDate>
		<dc:creator>Jay Hilgert</dc:creator>
				<category><![CDATA[General Web Design]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Custom]]></category>
		<category><![CDATA[Error messages]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.bittbox.com/?p=3514</guid>
		<description><![CDATA[Some hosts have custom error page options in their admin panel software, but if you want to bypass that and easily make your custom error messages work (as long as you&#8217;re running Apache) it&#8217;s pretty simple. Especially if your a blogger, and you&#8217;re familiar with .htaccess files, this is a very simple process and it works great. Let&#8217;s get started. Part 1 &#8211; General Step 1 Design your error page as a static HTML page. Step 2 You can upload the error pages to anywhere on you server, but I recommend putting them either in the root directory, or in a folder in the root.I put mine in a folder in the root called &#8220;errors.&#8221; Step 3 Add the following line of code to your .htaccess file in the root of your site. ErrorDocument 404 /errors/404.html And for the other error messages, simply uplad the other HTML files and add another line in your .htaccess file and change the error code to whatever you need, like: ErrorDocument 503 /errors/503.html in my example code, obviously, I&#8217;ve got a folder called &#8220;errors&#8221; in the root directory of my blog, and I named my error message html files as the same name as the error I want to display. Live Example The easiest error page to test, (as well as the most used) is 404, or &#8220;Not Found.&#8221; Simply type in your URL, then a forward slash and then a bunch of jibberish, like this: http://www.bittbox.com/fghjkdfghdfgkjh And that&#8217;s it. If you are having trouble seeing your error messages, you might check your file paths in your .htaccess file, as well as the file paths to images in your HTML and/or CSS, depending on how you have it setup. Part 2 &#8211; Custom 503 &#8220;Service Unavailable&#8221; Page using WordPress and the Maintenance Mode Plugin Step 1 Obviously, have the Maintenance Mode plugin installed and activated. Maintenance Mode lets you display a custom message while your site is down, whether your upgrading, or making a new theme, or simply doing maintenance of any kind. Nowadays, wordpress shows an error 503 (most likely your server default) &#8220;Service Unavailable&#8221; error when you do an automatic upgrade, so customizing this 503 error can make you rest a little easier when you need to upgrade your worpdress. (which wordpress users know, happens often.) Step 2 Copy your 503.html error you already made in Part 1, and put it in your wordpress theme directory. Then rename it to 503.php. Even though it&#8217;s most likely a simple html or xhtml file, the Maintenance Mode plugin needs a &#8220;php file extension, and it has to be in the same folder as all of your theme files. (don&#8217;t forget to move any images, and check image URLS during this process, as well as any image URLs in your CSS for your 503.) Step 3 In the WordPress Dashboard, go to Settings > Maintenance Mode and select the custom 503.php option under &#8220;Splash Page Theme.&#8221; Done In order to test the custom 503 that will display when you do upgrades (as long as maintenance mode is active before you upgrade) you can just activate it for a minute to see what it looks like, but you have to either log out, or use a different browser where you aren&#8217;t logged in to your site. Conclusion Custom error messages can be cool, and I recently learned a little about how to make them, so I thought I would spread the knowledge. It was way easier than I previously thought, and all you need is FTP. As I mentioned earlier, some customizations may be available from your host admin panel, but using the .htacess method, you can add as many as you want, and therefore have more control. Here&#8217;s a link to the most common Apache Error Codes&#187; Here&#8217;s a link to all Apache Error Codes &#187;]]></description>
			<content:encoded><![CDATA[<p>Some hosts have custom error page options in their admin panel software, but if you want to bypass that and easily make your custom error messages work (as long as you&#8217;re running Apache) it&#8217;s pretty simple. Especially if your a blogger, and you&#8217;re familiar with .htaccess files, this is a very simple process and it works great. Let&#8217;s get started.</p>
<p><a href="http://www.bittbox.com/fghjkdfghdfgkjh"><img src="http://www.bittbox.com/wp-content/uploads/2011/07/404_1.jpg" alt="Easily make sexy error messages in WordPress (and everything else)" title="Easily make sexy error messages in WordPress (and everything else)" /><br />
</a><br />
<span id="more-3514"></span></p>
<h2>Part 1 &#8211; General</h2>
<h3>Step 1</h3>
<p>Design your error page as a static HTML page.</p>
<h3>Step 2</h3>
<p>You can upload the error pages to anywhere on you server, but I recommend putting them either in the root directory, or in a folder in the root.I put mine in a folder in the root called &#8220;errors.&#8221;</p>
<h3>Step 3</h3>
<p>Add the following line of code to your .htaccess file in the root of your site.</p>
<p><code>ErrorDocument 404 /errors/404.html</code></p>
<p>And for the other error messages, simply uplad the other HTML files and add another line in your .htaccess file and change the error code to whatever you need, like:</p>
<p><code>ErrorDocument 503 /errors/503.html</code></p>
<p>in my example code, obviously, I&#8217;ve got a folder called &#8220;errors&#8221; in the root directory of my blog, and I named my error message html files as the same name as the error I want to display.</p>
<h3>Live Example</h3>
<p>The easiest error page to test, (as well as the most used) is 404, or &#8220;Not Found.&#8221; Simply type in your URL, then a forward slash and then a bunch of jibberish, like this:</p>
<p><a href="http://www.bittbox.com/fghjkdfghdfgkjh">http://www.bittbox.com/fghjkdfghdfgkjh</a></p>
<p>And that&#8217;s it. If you are having trouble seeing your error messages, you might check your file paths in your .htaccess file, as well as the file paths to images in your HTML and/or CSS, depending on how you have it setup.</p>
<h2>Part 2 &#8211; Custom 503 &#8220;Service Unavailable&#8221; Page using WordPress and the Maintenance Mode Plugin</h2>
<h3>Step 1</h3>
<p>Obviously, have the <a href="http://sw-guide.de/wordpress/plugins/maintenance-mode/" title="Maintenance Mode WordPress Plugin" target="_blank">Maintenance Mode</a> plugin installed and activated. Maintenance Mode lets you display a custom message while your site is down, whether your upgrading, or making a new theme, or simply doing maintenance of any kind. Nowadays, wordpress shows an error 503 (most likely your server default) &#8220;Service Unavailable&#8221; error when you do an automatic upgrade, so customizing this 503 error can make you rest a little easier when you need to upgrade your worpdress. (which wordpress users know, happens often.)</p>
<h3>Step 2</h3>
<p>Copy your 503.html error you already made in Part 1, and put it in your wordpress theme directory. Then rename it to 503.php. Even though it&#8217;s most likely a simple html or xhtml file, the Maintenance Mode plugin needs a &#8220;php file extension, and it has to be in the same folder as all of your theme files. (don&#8217;t forget to move any images, and check image URLS during this process, as well as any image URLs in your CSS for your 503.)</p>
<h3>Step 3</h3>
<p>In the WordPress Dashboard, go to Settings > Maintenance Mode and select the custom 503.php option under &#8220;Splash Page Theme.&#8221; </p>
<p><img src="http://www.bittbox.com/wp-content/uploads/2011/07/503_1.jpg" alt="Easily make sexy error messages in WordPress (and everything else)" title="Easily make sexy error messages in WordPress (and everything else)" /></p>
<h3>Done</h3>
<p>In order to test the custom 503 that will display when you do upgrades (as long as maintenance mode is active before you upgrade) you can just activate it for a minute to see what it looks like, but you have to either log out, or use a different browser where you aren&#8217;t logged in to your site.</p>
<h2>Conclusion</h2>
<p>Custom error messages can be cool, and I recently learned a little about how to make them, so I thought I would spread the knowledge. It was way easier than I previously thought, and all you need is FTP. As I mentioned earlier, some customizations may be available from your host admin panel, but using the .htacess method, you can add as many as you want, and therefore have more control.</p>
<p>Here&#8217;s a link to the <a href="http://www.bodhost.com/forum/tutorials-documentation/4380-most-common-http-error-codes-list-explained.html" target="_blank">most common Apache Error Codes&raquo;</a></p>
<p>Here&#8217;s a link to <a href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes" target="_blank">all Apache Error Codes &raquo;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bittbox.com/general-web-design/easily-make-sexy-error-messages-in-wordpress-and-everything-else/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Download a Full, Free Photoshop Book at Sitepoint</title>
		<link>http://www.bittbox.com/freebies/download-a-full-free-photoshop-book-at-sitepoint</link>
		<comments>http://www.bittbox.com/freebies/download-a-full-free-photoshop-book-at-sitepoint#comments</comments>
		<pubDate>Thu, 15 May 2008 19:12:48 +0000</pubDate>
		<dc:creator>Jay Hilgert</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Book]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Sitepoint]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.bittbox.com/?p=396</guid>
		<description><![CDATA[The folks at Sitepoint and 99Designs are making a free book available for download if you act fast. For a limited time, you can download The Photoshop Anthology: 101 Web Design Tips, Tricks &#038; Techniques, a full version book aimed at helping web designers. Head on over and download it while it lasts. The book is packed full of techniques and best practices to help aid you in achieving web-design-nirvana.]]></description>
			<content:encoded><![CDATA[<h4>The folks at <a href="http://www.sitepoint.com">Sitepoint</a> and <a href="http://99designs.com">99Designs</a> are making a free book available for download if you act fast. For a limited time, you can download <a href="http://photoshop.aws.sitepoint.com/">The Photoshop Anthology: 101 Web Design Tips, Tricks &#038; Techniques</a>, a full version book aimed at helping web designers. Head on over and download it while it lasts. The book is packed full of techniques and best practices to help aid you in achieving web-design-nirvana.</h4>
<p><a href="http://photoshop.aws.sitepoint.com/"><img src="/wp-content/uploads/2008/05/free_photoshop_book.jpg" alt="Download a Full, Free Photoshop Book at Sitepoint" title="Download a Full, Free Photoshop Book at Sitepoint" /></a><br />
<span id="more-396"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bittbox.com/freebies/download-a-full-free-photoshop-book-at-sitepoint/feed</wfw:commentRss>
		<slash:comments>64</slash:comments>
		</item>
		<item>
		<title>Have a Website? It&#8217;s Time to Add a WebClip Icon</title>
		<link>http://www.bittbox.com/general-web-design/have-a-website-its-time-to-add-a-webclip-icon</link>
		<comments>http://www.bittbox.com/general-web-design/have-a-website-its-time-to-add-a-webclip-icon#comments</comments>
		<pubDate>Tue, 05 Feb 2008 23:49:55 +0000</pubDate>
		<dc:creator>Jay Hilgert</dc:creator>
				<category><![CDATA[General Web Design]]></category>
		<category><![CDATA[Icon]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.bittbox.com/general-web-design/have-a-website-its-time-to-add-a-webclip-icon/</guid>
		<description><![CDATA[WebClip Icons are strictly for iPhone &#038; iPod Touch users, but since they are quite the popular little devices, website owners might want to think about adding a WebClip icon soon. A WebClip icon is the icon that the iPhone/iPod Touch uses if a user adds your site to their (now customizable) homescreen/s. I would expect that most people who would bookmark BittBox on the iPhone would just read the RSS feed, but as a site owner, I don&#8217;t want to leave anything to chance. I want my icon to look the way I want it to look, and not rely on the iPhone to do it for me. Think of it as a really big favicon. All you have to do to create your icon is make a 57 x 57px png icon, name it &#8220;apple-touch-icon.png&#8221; and place it in the root directory of your site. You don&#8217;t even need to worry about adding the glossy highlight or round corners, the iPhone does all that for you. Safari on the iPhone will now recognize your icon when a user adds your site to their homescreen. The image below is the icon in my root directory. Notice that it&#8217;s completely square, and has no reflection, compared to what you actually see on the phone (above). If you want to read more about WebClip icons, TUAW has a great post with some links to websites where you can make/submit your icons.]]></description>
			<content:encoded><![CDATA[<h4>WebClip Icons are strictly for iPhone &#038; iPod Touch users, but since they are quite the popular little devices, website owners might want to think about adding a WebClip icon soon. A WebClip icon is the icon that the iPhone/iPod Touch uses if a user adds your site to their (now customizable) homescreen/s. I would expect that most people who would bookmark BittBox on the iPhone would just read the RSS feed, but as a site owner, I don&#8217;t want to leave anything to chance. I want my icon to look the way I want it to look, and not rely on the iPhone to do it for me. Think of it as a really big favicon.</h4>
<p><img src="/wp-content/uploads/2008/02/web_clip_icon.jpg" alt="Have a Website? It's Time to Add a Web Clip Icon" title="Have a Website? It's Time to Add a Web Clip Icon" /><br />
<span id="more-343"></span></p>
<p>All you have to do to create your icon is make a 57 x 57px png icon, name it &#8220;apple-touch-icon.png&#8221; and place it in the root directory of your site. You don&#8217;t even need to worry about adding the glossy highlight or round corners, the iPhone does all that for you. Safari on the iPhone will now recognize your icon when a user adds your site to their homescreen. The image below is the icon in my root directory. Notice that it&#8217;s completely square, and has no reflection, compared to what you actually see on the phone (above).<br />
<img src="/wp-content/uploads/2008/02/apple-touch-icon.png" alt="Have a Website? It's Time to Add a Web Clip Icon" title="Have a Website? It's Time to Add a Web Clip Icon" /></p>
<p>If you want to read more about WebClip icons, TUAW has a <a href="http://www.tuaw.com/2008/01/22/wheres-the-webclip-icon/">great post</a> with some links to websites where you can make/submit your icons. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bittbox.com/general-web-design/have-a-website-its-time-to-add-a-webclip-icon/feed</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
	</channel>
</rss>

