<?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>Route of Queue &#187; Hints and Tips</title>
	<atom:link href="http://www.routeofqueue.com/category/hint-and-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.routeofqueue.com</link>
	<description>I have issues</description>
	<lastBuildDate>Sun, 30 May 2010 11:18:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>HTML email with images broken in Windows Live Hotmail and Firefox</title>
		<link>http://www.routeofqueue.com/2009/08/html-email-with-images-broken-in-windows-live-hotmail-and-firefox/</link>
		<comments>http://www.routeofqueue.com/2009/08/html-email-with-images-broken-in-windows-live-hotmail-and-firefox/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 15:15:23 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[baseline]]></category>
		<category><![CDATA[descenders]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[email clients]]></category>
		<category><![CDATA[email with images]]></category>
		<category><![CDATA[fact]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[gap]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[hassle]]></category>
		<category><![CDATA[Hotmail]]></category>
		<category><![CDATA[html email]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[lowecase]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[mac mail]]></category>
		<category><![CDATA[Messenger]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[pixel]]></category>
		<category><![CDATA[quirks]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows live messenger]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.routeofqueue.com/?p=88</guid>
		<description><![CDATA[If you&#8217;ve ever had to design/build HTML emails for work or fun or whatever, you might have run into a bit of an issue getting your email to display consistently in the multitude of email clients out there. I tend to just test my emails in Gmail, Outlook, Windows Live Hotmail and occasionally Mac Mail. [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever had to design/build HTML emails for work or fun or whatever, you might have run into a bit of an issue getting your email to display consistently in the multitude of email clients out there. I tend to just test my emails in Gmail, Outlook, Windows Live Hotmail and occasionally Mac Mail.</p>
<p>I used to only test in Windows Live Hotmail using IE as I was resigned to the fact that it never worked properly in Firefox &#8211; until now! I finally got hassled into finding a solution for the only issue we had left &#8211; a 3 or 4 pixel gap appearing in between all the images.</p>
<p>It turns out the problem is the way the browsers in quirks and standards mode align images to the text baseline &#8211; the 3 or 4 pixel gap is there to allow room for the descenders of lowecase letters like &#8220;p&#8221; and &#8220;y&#8221; &#8211; even if there are no letters in the &lt;td&gt; with the &lt;img&gt; in it.</p>
<p>There are 2 things you can do to resolve the issue &#8211; force all the images to be aligned to the bottom of the &lt;td&gt; rather than the default (text baseline):</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;something.gif&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;vertical-align: bottom;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></div></div>

<p>Or you can take the issue out of the rendering engines hands and fool it by making all the images block-level rather than inline:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;something.gif&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display: block;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></div></div>

<p>I prefer the second option, but the first one should work fine too! ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.routeofqueue.com/2009/08/html-email-with-images-broken-in-windows-live-hotmail-and-firefox/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>&#8220;You do not have sufficient permissions to access this page&#8221; after WordPress upgrade</title>
		<link>http://www.routeofqueue.com/2009/07/you-do-not-have-sufficient-permissions-to-access-this-page-after-wordpress-upgrade/</link>
		<comments>http://www.routeofqueue.com/2009/07/you-do-not-have-sufficient-permissions-to-access-this-page-after-wordpress-upgrade/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 18:45:47 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[meta key]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[prefix]]></category>
		<category><![CDATA[REPLACE]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[sql statements]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[usermeta]]></category>
		<category><![CDATA[warning]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://www.routeofqueue.com/?p=76</guid>
		<description><![CDATA[If you&#8217;ve done a wordpress upgrade which included either copying another wp database or changing the current one&#8217;s table prefix (as well as changing the $table_prefix PHP variable in your config file,) you will most likely be met with this warning when you try to log in: You do not have sufficient permissions to access [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve done a wordpress upgrade which included either copying another wp database or changing the current one&#8217;s table prefix (as well as changing the $table_prefix PHP variable in your config file,) you will most likely be met with this warning when you try to log in:</p>
<blockquote><p>You do not have sufficient permissions to access this page.</p></blockquote>
<p>The reason for this is that everything in wordpress that accesses info in the db does so from PHP using the $table_prefix variable, and when you first installed your blog, a couple of options are set in the database that include that value, which makes it not really so dynamic! ;)</p>
<p>After rooting through my db, I found 5 or 6 values that still had the old table prefix in &#8211; mostly in the `usermeta` table, but also one in the `options` table. To make sure I got them all, I ran these simple SQL statements in phpMyAdmin to update all the values:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`wp2_usermeta`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`meta_key`</span> <span style="color: #66cc66;">=</span> <span style="color: #993333; font-weight: bold;">REPLACE</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`meta_key`</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'wp_'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'wp2_'</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`wp2_options`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`option_name`</span> <span style="color: #66cc66;">=</span> <span style="color: #993333; font-weight: bold;">REPLACE</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`option_name`</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'wp_'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'wp2_'</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p><strong><em>(note: please be sure to backup your database before you execute any SQL on it &#8211; if something goes wrong, there&#8217;s not a lot you can do to recover it without a backup!)</em></strong></p>
<p>In those two examples, assume the original prefix was &#8220;wp&#8221; and the new one is &#8220;wp2&#8243;.</p>
<p>With that done, I can now log in to my newly upgraded blog again! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.routeofqueue.com/2009/07/you-do-not-have-sufficient-permissions-to-access-this-page-after-wordpress-upgrade/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>WordPress 2.8 automatic upgrade fails</title>
		<link>http://www.routeofqueue.com/2009/07/wordpress-2-8-automatic-upgrade-fails/</link>
		<comments>http://www.routeofqueue.com/2009/07/wordpress-2-8-automatic-upgrade-fails/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 18:17:11 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[AddType]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[content folder]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[ftp client]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[zip file]]></category>

		<guid isPermaLink="false">http://www.routeofqueue.com/?p=68</guid>
		<description><![CDATA[I&#8217;ve been trying to update my wordpress blogs from various versions like 2.5 and 2.7 to the newest 2.8 for a while now, but was never able to do it automatically. Every time I pressed the &#8220;upgrade automatically&#8221; button, it told me it was downloading the latest file from WordPress, but it never got any [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to update my wordpress blogs from various versions like 2.5 and 2.7 to the newest 2.8 for a while now, but was never able to do it automatically.</p>
<p>Every time I pressed the &#8220;upgrade automatically&#8221; button, it told me it was downloading the latest file from WordPress, but it never got any further than that. I logged in to my site using my FTP client and found a 0KB sized file called wordpress2.8.zip in the wp_content folder, so I thought I&#8217;d found the issue &#8211; maybe the script can&#8217;t actually download the file and save it to disk because of permissions. I chmodded the file and then the folder to allow write access, but no joy.</p>
<p>Of course, I could have just downloaded the latest install from wordpress and done a manual upgrade, but there&#8217;s about 8 million files in the zip file and I didn&#8217;t want to have to upload that to 5 different sites! ;)</p>
<p>After a bit of research, it turns out that the problem is that the auto-upgrade script requires PHP5 to run, and as my sites are hosted on 1and1 servers which default to php4, the script was failing!</p>
<p>So if you&#8217;re having the same issue, <strong>all you need to do is make sure your wordpress is running on PHP5 instead of 4!</strong> If you&#8217;re on a shared server and you can&#8217;t change the server&#8217;s config, you can still tell apache to run your scripts as PHP5 rather than 4 by adding the following line to your .htaccess:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">AddType</span> x-mapp-php5 .php</pre></div></div>

<p>All that does is tells apache to to parse all .php files with the PHP5 parser rather than whatever the server&#8217;s default is! So just throw that in the .htaccess you find in the root of your site &#8211; put it just after the &#8220;# END WordPress&#8221; line &#8211; save it, upload it and try doing the upgrade again &#8211; it worked first time for me! :)</p>
<p>If you&#8217;re still having trouble after that, or you&#8217;ve got a different solution, please post a comment here and let others know!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.routeofqueue.com/2009/07/wordpress-2-8-automatic-upgrade-fails/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Album artwork doesn&#8217;t show on iPod Touch Cover Flow</title>
		<link>http://www.routeofqueue.com/2009/02/album-artwork-doesnt-show-on-ipod-touch/</link>
		<comments>http://www.routeofqueue.com/2009/02/album-artwork-doesnt-show-on-ipod-touch/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 00:07:09 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[album]]></category>
		<category><![CDATA[album artwork]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[amazon co uk]]></category>
		<category><![CDATA[anyone]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[chance]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[combination]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[Cover Flow]]></category>
		<category><![CDATA[coverflow]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[dialogue]]></category>
		<category><![CDATA[dodgy]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[few days]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[fine]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[ipod incase]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[joy]]></category>
		<category><![CDATA[latest versions]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[Manually]]></category>
		<category><![CDATA[method]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[Plug]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[question]]></category>
		<category><![CDATA[s library]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[something]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[Touch]]></category>
		<category><![CDATA[untick]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.routeofqueue.com/?p=22</guid>
		<description><![CDATA[If you find that your iPhone/iPod Touch isn&#8217;t displaying the album artwork in coverflow, but your computer that you sync it to shows it fine in iTunes, you&#8217;re probably wondering what&#8217;s going on! This happened to me a few days ago, so I did some searching &#8211; most people seem to think it&#8217;s only just [...]]]></description>
			<content:encoded><![CDATA[<p>If you find that your iPhone/iPod Touch isn&#8217;t displaying the album artwork in coverflow, but your computer that you sync it to shows it fine in iTunes, you&#8217;re probably wondering what&#8217;s going on!</p>
<p>This happened to me a few days ago, so I did some searching &#8211; most people seem to think it&#8217;s only just started happening in the latest versions of iTunes and on iPhones/iPod Touches with the 2.2 firmware on &#8211; I didn&#8217;t notice it happening before I upgraded my firmware, but then I only noticed it happening now by chance, so I can&#8217;t really say if what these people are saying is true.</p>
<p>Anyway, it&#8217;s a solution you came here for, so here goes.</p>
<p>I tried <a href="http://support.apple.com/kb/HT1394" rel="nofollow">resetting</a> my iPod, incase it was just something dodgy going on on the file system, or another process interfering. No Joy. :(</p>
<p>I&#8217;ve tried clearing all my album artwork in iTunes and then finding the images again using a combination of the &#8220;Get Album Artwork&#8221; feature in the iTunes store and some Amazon.co.uk searches, then syncing the device again. Again, no joy.</p>
<p>Finally, I decided to just delete the offending albums from my iPod and upload them to it again. To do that without losing the albums from your iTunes library, just plug your iPhone/iPod in, start iTunes, click on the device name in the list on the left and tick the box that says &#8220;Manually manage music and videos&#8221;. That will allow you to browse the library on your device, select the albums in question and delete them. When you&#8217;ve done that, untick the box you just ticked, hit OK in whatever dialogue box iTunes pops up and let it sync your device again.</p>
<p>This should copy the songs/albums from your computer&#8217;s library back to the device, and hopefully send the album artwork along with them!</p>
<p>Well, that&#8217;s what worked for me &#8211; if anyone has any better method of restoring artwork on an iPhone/iPod Touch, please leave a comment and let me know what you did!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.routeofqueue.com/2009/02/album-artwork-doesnt-show-on-ipod-touch/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Mod rewrite URL with 2 question marks?</title>
		<link>http://www.routeofqueue.com/2009/02/mod-rewrite-url-with-2-question-marks/</link>
		<comments>http://www.routeofqueue.com/2009/02/mod-rewrite-url-with-2-question-marks/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 21:46:42 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[colleague]]></category>
		<category><![CDATA[condition]]></category>
		<category><![CDATA[fact]]></category>
		<category><![CDATA[file folder]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[legit]]></category>
		<category><![CDATA[Mod]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[query string]]></category>
		<category><![CDATA[querystring]]></category>
		<category><![CDATA[question]]></category>
		<category><![CDATA[question mark]]></category>
		<category><![CDATA[question marks]]></category>
		<category><![CDATA[request]]></category>
		<category><![CDATA[request url]]></category>
		<category><![CDATA[rewrite rule]]></category>
		<category><![CDATA[RewriteCond]]></category>
		<category><![CDATA[RewriteRule]]></category>
		<category><![CDATA[RewriteRules]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[simple solution]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[workaround]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://www.routeofqueue.com/?p=14</guid>
		<description><![CDATA[A colleague asked me for some help with a few RewriteRules in his .htaccess today. One of the links he was trying to rewrite was unusual in the fact that is had 2 question marks &#8220;?&#8221; in it. Let&#8217;s say the url looked like: www.site.com/2009/1/is-this-a-legit-url?-i-don't-know? and you wanted to rewrite that to: www.site.com/2009/1/is-this-a-legit-url-i-dont-know/ You might [...]]]></description>
			<content:encoded><![CDATA[<p>A colleague asked me for some help with a few RewriteRules in his .htaccess today. One of the links he was trying to rewrite was unusual in the fact that is had 2 question marks &#8220;?&#8221; in it.</p>
<p>Let&#8217;s say the url looked like:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">www.site.com/<span style="color: #ff0000;">2009</span>/<span style="color: #ff0000;">1</span>/is-this-a-legit-url?-i-don<span style="color: #7f007f;">'t-know?</span></pre></div></div>

<p>and you wanted to rewrite that to:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">www.site.com/<span style="color: #ff0000;">2009</span>/<span style="color: #ff0000;">1</span>/is-this-a-legit-url-i-dont-know/</pre></div></div>

<p>You might think the rewrite would be simple, like so:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">RewriteRule</span> ^<span style="color: #ff0000;">2009</span>/<span style="color: #ff0000;">1</span>/is-this-a-legit-url\?-don%27t-know\?/?$ /<span style="color: #ff0000;">2009</span>/<span style="color: #ff0000;">1</span>/is-this-a-legit-url-i-dont-know/? [R=<span style="color: #ff0000;">301</span>,NC,L]</pre></div></div>

<p>If you run that though, apache will throw a wobbly and tell you that &#8220;The requested URL /2009/1/is-this-a-legit-url was not found on this server.&#8221;</p>
<p>The reason for this is the server thinks everything after the first &#8220;?&#8221; is the querystring, so in this case, the apache is looking for a file/folder called &#8220;/2009/1/is-this-a-legit-url&#8221; and it will pass the querystring through as &#8220;-i-don&#8217;t-know?&#8221;</p>
<p>Of course, the simple solution would be to just match up to the first question mark in the rule, but that might not always be appropriate &#8211; e.g. if the string began with a question mark for whatever reason!</p>
<p>We came up with a cunning workaround for this by matching both the request url and the querystring like so:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">RewriteCond</span> %{QUERY_STRING} ^-i-don%27t-know\?/?$ [NC]
<span style="color: #00007f;">RewriteRule</span> ^<span style="color: #ff0000;">2009</span>/<span style="color: #ff0000;">1</span>/is-this-a-legit-url$ /<span style="color: #ff0000;">2009</span>/<span style="color: #ff0000;">1</span>/is-this-a-legit-url-i-dont-know/? [R=<span style="color: #ff0000;">301</span>,NC,L]</pre></div></div>

<p>Now, if a request like the original one above comes in, the query string will match the rewrite condition, and the requested URL will match the rewrite rule! :)</p>
<p>Note the extra question mark at the end of the rewritten rule &#8220;/is-this-a-legit-url-i-dont-know/? [R=301,NC,L]&#8221; &#8211; you need that in there to stop the server trying to push the original query string through.</p>
<p>Without it, your URL will be redirected to:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">www.site.com/<span style="color: #ff0000;">2009</span>/<span style="color: #ff0000;">1</span>/is-this-a-legit-url-i-dont-know/?-i-don%2527t-know%3f</pre></div></div>

<p>Unfortunately, using this method does mean that if you have any variable in the query string that you want to push through, you won&#8217;t be able to&#8230; Chances are though, that if you have 2 question marks, something&#8217;s gone wrong anyway, so this fix is better than nothing! ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.routeofqueue.com/2009/02/mod-rewrite-url-with-2-question-marks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best Practices for Speeding Up Your Website</title>
		<link>http://www.routeofqueue.com/2008/05/best-practices-for-speeding-up-your-website/</link>
		<comments>http://www.routeofqueue.com/2008/05/best-practices-for-speeding-up-your-website/#comments</comments>
		<pubDate>Wed, 14 May 2008 18:53:21 +0000</pubDate>
		<dc:creator>Sii</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[combination]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ground]]></category>
		<category><![CDATA[investment]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[October]]></category>
		<category><![CDATA[performance rules]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[Speeding]]></category>
		<category><![CDATA[Steve]]></category>
		<category><![CDATA[Steve Souders]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[www]]></category>
		<category><![CDATA[yahoo]]></category>
		<category><![CDATA[YSlow]]></category>

		<guid isPermaLink="false">http://www.routeofqueue.com/?p=12</guid>
		<description><![CDATA[I&#8217;ve been watching/listening to October 07&#8242;s FOWA presentations and the latest one I&#8217;ve heard &#8211; by Yahoo&#8217;s Steve Souders &#8211; struck me as worth a quick look. Who wouldn&#8217;t want to speed up their websites? Steve describes 14 rules that make up a &#8216;best practices for speeding up your website&#8217;: http://developer.yahoo.com/performance/rules.html And there&#8217;s also a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been watching/listening to October 07&#8242;s FOWA presentations and the latest one I&#8217;ve heard &#8211; by Yahoo&#8217;s Steve Souders &#8211; struck me as worth a quick look. Who wouldn&#8217;t want to speed up their websites?</p>
<p>Steve describes 14 rules that make up a &#8216;best practices for speeding up your website&#8217;: <a title="Best practices for speeding up your website" href="http://developer.yahoo.com/performance/rules.html" rel="nofollow">http://developer.yahoo.com/performance/rules.html</a></p>
<p>And there&#8217;s also a way to use the Firefox add-in, Firebug in combination with YSlow to analyse your sites based on the 14 rules: <a title="Get Firebug" href="http://www.getfirebug.com/" rel="nofollow">http://www.getfirebug.com/</a> and <a title="YSlow" href="http://developer.yahoo.com/yslow/" rel="nofollow">http://developer.yahoo.com/yslow/</a></p>
<p>We&#8217;ve been planning a css/js cache for a while now, but never got it off the ground, still seems that a few of the other rules could provide a good return on little investment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.routeofqueue.com/2008/05/best-practices-for-speeding-up-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DS_Store, dot underscore (._), resource forks and annoyed Windows users</title>
		<link>http://www.routeofqueue.com/2008/05/ds_store-dot-underscore-_-resource-forks-and-annoyed-windows-users/</link>
		<comments>http://www.routeofqueue.com/2008/05/ds_store-dot-underscore-_-resource-forks-and-annoyed-windows-users/#comments</comments>
		<pubDate>Wed, 07 May 2008 19:23:01 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[background image]]></category>
		<category><![CDATA[colleagues]]></category>
		<category><![CDATA[custom attributes]]></category>
		<category><![CDATA[folders]]></category>
		<category><![CDATA[hassle]]></category>
		<category><![CDATA[little buggers]]></category>
		<category><![CDATA[mac system]]></category>
		<category><![CDATA[mac users]]></category>
		<category><![CDATA[macworld]]></category>
		<category><![CDATA[resource fork]]></category>
		<category><![CDATA[resource forks]]></category>
		<category><![CDATA[two bits]]></category>
		<category><![CDATA[underscore]]></category>
		<category><![CDATA[windows environment]]></category>
		<category><![CDATA[windows server]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.routeofqueue.com/?p=10</guid>
		<description><![CDATA[If any of you out there, like me, work in a Windows environment but have colleagues or friends who insist on using Macs, you will probably have noticed a whole load of extra hidden files scattered around your network. That a familiar sight to anyone? :( The .DS_Store is similar to the thumbs.db file Windows [...]]]></description>
			<content:encoded><![CDATA[<p>If any of you out there, like me, work in a Windows environment but have colleagues or friends who insist on using Macs, you will probably have noticed a whole load of extra hidden files scattered around your network.</p>
<p><img class="alignnone size-full wp-image-8" title="ds_store" src="http://www.routeofqueue.com/wp-content/uploads/2008/05/ds_store.gif" alt="" width="206" height="78" /></p>
<p>That a familiar sight to anyone? :(</p>
<p>The <a title=".DS_Store - Wikipedia" href="http://en.wikipedia.org/wiki/.DS_Store" rel="nofollow">.DS_Store</a> is similar to the thumbs.db file Windows XP makes and is used to store &#8220;custom attributes of a folder such as the position of icons or the choice of a background image.&#8221;</p>
<p>The <a title="Resource Forks - Wikipedia" href="http://en.wikipedia.org/wiki/Resource_fork" rel="nofollow">dot-underscore (._)</a> files are pesky little buggers. It seems that when you use the Finder to transfer files to a non-Mac system&#8211;a Windows Server in this case&#8211;it splits the file into two parts &#8211; the data and the resource forks. When you copy the file back to the Mac, the Finder merges the two bits again. Windows can&#8217;t use the resource fork, so it&#8217;s not needed and you can delete it, but it&#8217;s a lot of hassle having to clean up after others! ;)</p>
<p>Ok, if you&#8217;re a home user, or if you don&#8217;t care about any hidden files, then you can safely just hide them all! To do that in Windows. go to: Control Panel &gt; Folder Options &gt; View &gt; &#8220;Do not show hidden files and folders&#8221;. But if like me you do need access to some hidden files, then that&#8217;s not an option.</p>
<p>After searching for quite a while, I found a few resources that should help you get rid of the offending files, and stop the offending Mac users from creating new ones [as long as they're prepared to play along and adjust a few settings, that is!]</p>
<p><strong>.DS_Store links:</strong><br />
<a title=" Mac OS X 10.4: How to prevent .DS_Store file creation over network connections" href="http://support.apple.com/kb/HT1629" rel="nofollow">http://support.apple.com/kb/HT1629</a> &#8211; You can stop the .DS_Store files being created using this command from the Terminal</p>
<p><a title="Tinker Tool" href="http://www.bresink.de/osx/TinkerTool.html" rel="nofollow">http://www.bresink.de/osx/TinkerTool.html</a> &#8211; For those of you less comfortable using the Terminal, this tool should let you stop the .DS_Store files being created from the control panel</p>
<p><a title="DS_Store Cleaner 1.5 - MacUpdate" href="http://www.macupdate.com/info.php/id/11163" rel="nofollow">http://www.macupdate.com/info.php/id/11163</a> &#8211; A handy bit of kit that will delete all the .DS_Store files on a drive</p>
<p><strong>dot-underscore (._) links:</strong><br />
<a title="Macworld | Leopard's Unix Tricks" href="http://www.macworld.com/article/132556/2008/04/geekfactor2504.html" rel="nofollow">http://www.macworld.com/article/132556/2008/04/geekfactor2504.html</a> &#8211; Using dot_clean on Leopard to get rid of the dot-underscore files</p>
<p><a title="BlueHarvest: Manage DS_Store, resource forks, Trashes and more" href="http://www.zeroonetwenty.com/blueharvest/" rel="nofollow">http://www.zeroonetwenty.com/blueharvest/</a> &#8211; This software is a godsend! It&#8217;s available as a 30 day trial, and then costs about 13 US Dollars, but it does the trick!</p>
<p>Oh well, hopefully these resources will save a couple of Mac users some black eyes from annoyed Windows users! ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.routeofqueue.com/2008/05/ds_store-dot-underscore-_-resource-forks-and-annoyed-windows-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
