<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: The anatomy of a server sided redirect: 301, 302 and 307 illuminated SEO wise</title>
	<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/</link>
	<description>If you've read my articles somewhere on the Internet, expect something different here.</description>
	<pubDate>Fri, 16 May 2008 17:09:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: Why storing URLs with truncated trailing slashes is an utterly idiocy</title>
		<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-1128</link>
		<dc:creator>Why storing URLs with truncated trailing slashes is an utterly idiocy</dc:creator>
		<pubDate>Wed, 06 Feb 2008 08:03:53 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-1128</guid>
		<description>[...] What works great for major search engines like Google can fire back when a Web service like Yahoo thinks circumcising URLs is cool. Proper URL canonicalization might, for example, screw your blog&#8217;s reputation at [...]</description>
		<content:encoded><![CDATA[<script type='text/javascript' src='http://www.sezwho.com/widgets/profile/js_output/wp/abeautifulday/1.3/1.3/8bd533845c1fc43d8202c6362e715395/47a227eeb615e'></script><script type="text/javascript">var sz_global_config_params = {cppluginurl:"http://sebastians-pamphlets.com/wp-content/plugins/sezwho",cpserverurl:"http://www.sezwho.com", sitekey:"8bd533845c1fc43d8202c6362e715395",blogkey:"47a227eeb615e",blogid:"0", plugin_version:"1.3"} ; </script><p>[&#8230;] What works great for major search engines like Google can fire back when a Web service like Yahoo thinks circumcising URLs is cool. Proper URL canonicalization might, for example, screw your blog&#8217;s reputation at [&#8230;]<script type="text/javascript" id="szCommentHiddenTag:1128">var sz_comment_config_params = {use_cross_domain_posting:1,post_id:"203", comment_rating_submit_path:"/cpratingsubmit.php",sortOrder:"",sz_auto_comment:0,sz_auto_option_bar:0,comment_number:24, sz_comment_data:[]};sz_comment_config_params.sz_comment_data[0]= {comment_id:"1128", comment_author:"Why%20storing%20URLs%20with%20truncated%20trailing%20slashes%20is%20an%20utterly%20idiocy", comment_author_url:"http://sebastians-pamphlets.com/thou-must-not-steal-the-trailing-slash-from-my-urls/", comment_author_email:"",sz_score:"0",comment_score:"0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Everybody&#8217;s Free (To Add Good Content) - Hobo SEO UK</title>
		<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-930</link>
		<dc:creator>Everybody&#8217;s Free (To Add Good Content) - Hobo SEO UK</dc:creator>
		<pubDate>Fri, 04 Jan 2008 17:21:30 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-930</guid>
		<description>[...] 301 those old pages and domains, throw away your old notes about getting into DMOZ.  Stumble! [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] 301 those old pages and domains, throw away your old notes about getting into DMOZ.  Stumble! [&#8230;]<script type="text/javascript" id="szCommentHiddenTag:930">sz_comment_config_params.sz_comment_data[1]= {comment_id:"930", comment_author:"Everybody%26%238217%3Bs%20Free%20%28To%20Add%20Good%20Content%29%20-%20Hobo%20SEO%20UK", comment_author_url:"http://www.hobo-web.co.uk/seo-blog/index.php/seo-good-content/", comment_author_email:"",sz_score:"0",comment_score:"0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Act out your sophisticated affiliate link paranoia</title>
		<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-669</link>
		<dc:creator>Act out your sophisticated affiliate link paranoia</dc:creator>
		<pubDate>Tue, 13 Nov 2007 20:10:06 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-669</guid>
		<description>[...] If the requestor is not a verified crawler, router.php does a 307 redirect to the sponsor&#8217;s landing page:  $sponsorUrl = &#34;http://www.seobook.com/262.html&#34;; $requestProtocol = $_SERVER[&#34;SERVER_PROTOCOL&#34;]; $protocolArr = explode(&#34;/&#34;,$requestProtocol); $protocolName = trim($protocolArr[0]); $protocolVersion = trim($protocolArr[1]); if (stristr($protocolName,&#34;HTTP&#34;) &#38;&#38; strtolower($protocolVersion) &#62; &#34;1.0&#34; ) { $httpStatusCode = 307; } else { $httpStatusCode = 302; } $httpStatusLine = &#34;$requestProtocol $httpStatusCode Temporary Redirect&#34;; @header($httpStatusLine, TRUE, $httpStatusCode); @header(&#34;Location: $sponsorUrl&#34;); exit; A 307 redirect avoids caching issues, because 307 redirects must not be cached by the user agent. That means that changes of sponsor URLs take effect immediately, even when the user agent has cached the destination page from a previous redirect. If the request came in via HTTP/1.0, we must perform a 302 redirect, because the 307 response code was introduced with HTTP/1.1 and some older user agents might not be able to handle 307 redirects properly. User agents can cache the locations provided by 302 redirects, so possibly when they run into a page known to redirect, they might request the outdated location. For obvious reasons we can&#8217;t use the 301 response code, because 301 redirects are always cachable. (More information on HTTP redirects.) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] If the requestor is not a verified crawler, router.php does a 307 redirect to the sponsor&#8217;s landing page:  $sponsorUrl = &quot;http://www.seobook.com/262.html&quot;; $requestProtocol = $_SERVER[&quot;SERVER_PROTOCOL&quot;]; $protocolArr = explode(&quot;/&quot;,$requestProtocol); $protocolName = trim($protocolArr[0]); $protocolVersion = trim($protocolArr[1]); if (stristr($protocolName,&quot;HTTP&quot;) &#38;&#38; strtolower($protocolVersion) &gt; &quot;1.0&quot; ) { $httpStatusCode = 307; } else { $httpStatusCode = 302; } $httpStatusLine = &quot;$requestProtocol $httpStatusCode Temporary Redirect&quot;; @header($httpStatusLine, TRUE, $httpStatusCode); @header(&quot;Location: $sponsorUrl&quot;); exit; A 307 redirect avoids caching issues, because 307 redirects must not be cached by the user agent. That means that changes of sponsor URLs take effect immediately, even when the user agent has cached the destination page from a previous redirect. If the request came in via HTTP/1.0, we must perform a 302 redirect, because the 307 response code was introduced with HTTP/1.1 and some older user agents might not be able to handle 307 redirects properly. User agents can cache the locations provided by 302 redirects, so possibly when they run into a page known to redirect, they might request the outdated location. For obvious reasons we can&#8217;t use the 301 response code, because 301 redirects are always cachable. (More information on HTTP redirects.) [&#8230;]<script type="text/javascript" id="szCommentHiddenTag:669">sz_comment_config_params.sz_comment_data[2]= {comment_id:"669", comment_author:"Act%20out%20your%20sophisticated%20affiliate%20link%20paranoia", comment_author_url:"http://sebastians-pamphlets.com/linking-guide-for-paranoid-affiliate-marketers/", comment_author_email:"",sz_score:"0",comment_score:"0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The people I sleep with&#8230; &#8226; Tim Nash UK SEO Blog</title>
		<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-572</link>
		<dc:creator>The people I sleep with&#8230; &#8226; Tim Nash UK SEO Blog</dc:creator>
		<pubDate>Thu, 25 Oct 2007 10:42:52 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-572</guid>
		<description>[...] agree. Of all his articles the one that ended on my bedside cabinet was his excellent work on 301,302, &#38; 307 Status codes it might not be headline grabbing but it was damn [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] agree. Of all his articles the one that ended on my bedside cabinet was his excellent work on 301,302, &amp; 307 Status codes it might not be headline grabbing but it was damn [&#8230;]<script type="text/javascript" id="szCommentHiddenTag:572">sz_comment_config_params.sz_comment_data[3]= {comment_id:"572", comment_author:"The%20people%20I%20sleep%20with%26%238230%3B%20%26bull%3B%20Tim%20Nash%20UK%20SEO%20Blog", comment_author_url:"http://www.timnash.co.uk/10/2007/articles-of-interest/", comment_author_email:"",sz_score:"0",comment_score:"0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: disco4me</title>
		<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-541</link>
		<dc:creator>disco4me</dc:creator>
		<pubDate>Thu, 11 Oct 2007 15:07:34 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-541</guid>
		<description>Sorry for the quick addon. 

I asked my webhosting company to add the line you suggested but instead they added the following instead. Is this OK?

I asked to add:
redirect 301 /actuarial-jobs/actuarial-jobs-casualty.htm /actuarial-jobs/actuarial-jobs-casualty.php 

Instead they added:
RewriteRule ^actuarial-jobs/actuarial-jobs-casualty.htm$ http://example.com/actuarial-jobs/actuarial-jobs-casualty.php/dontfollow [R=301,L]</description>
		<content:encoded><![CDATA[<p>Sorry for the quick addon. </p>
<p>I asked my webhosting company to add the line you suggested but instead they added the following instead. Is this OK?</p>
<p>I asked to add:<br />
redirect 301 /actuarial-jobs/actuarial-jobs-casualty.htm /actuarial-jobs/actuarial-jobs-casualty.php </p>
<p>Instead they added:<br />
RewriteRule ^actuarial-jobs/actuarial-jobs-casualty.htm$ <a href="http://example.com/actuarial-jobs/actuarial-jobs-casualty.php" rel="nofollow">http://example.com/actuarial-jobs/actuarial-jobs-casualty.php</a> [R=301,L]<script type="text/javascript" id="szCommentHiddenTag:541">sz_comment_config_params.sz_comment_data[4]= {comment_id:"541", comment_author:"disco4me", comment_author_url:"", comment_author_email:"i9hJYffHhpoMKgjuGf4WrjHzD5TFSQLx01hYlBb2f%2BoU%2FYBKf3xWzMzQ8ESjYwREZ1%2F96Pe0K81SfWxx2x88iWC4WQLnpmQZtEgfp9zn5CGAmwULebaxW5Pby0%2Fqqlni8dpsOw6G6Uhg6lGSQ579nZbpOx0mq88aPvzONXkuMYg%3D",sz_score:"5.0",comment_score:"5.0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: disco4me</title>
		<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-540</link>
		<dc:creator>disco4me</dc:creator>
		<pubDate>Thu, 11 Oct 2007 14:17:36 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-540</guid>
		<description>Thanks for your help. Much appeciated.

What is the difference between RedirectMatch 301 and redirect 301?

If everything is being redirected to the same server, is it really necessary to have the http://www.example.com/dontfollow included in the redirect? Won't the path without that work?</description>
		<content:encoded><![CDATA[<p>Thanks for your help. Much appeciated.</p>
<p>What is the difference between RedirectMatch 301 and redirect 301?</p>
<p>If everything is being redirected to the same server, is it really necessary to have the <a href="http://www.example.com" rel="nofollow">http://www.example.com</a> included in the redirect? Won&#8217;t the path without that work?<script type="text/javascript" id="szCommentHiddenTag:540">sz_comment_config_params.sz_comment_data[5]= {comment_id:"540", comment_author:"disco4me", comment_author_url:"", comment_author_email:"i9hJYffHhpoMKgjuGf4WrjHzD5TFSQLx01hYlBb2f%2BoU%2FYBKf3xWzMzQ8ESjYwREZ1%2F96Pe0K81SfWxx2x88iWC4WQLnpmQZtEgfp9zn5CGAmwULebaxW5Pby0%2Fqqlni8dpsOw6G6Uhg6lGSQ579nZbpOx0mq88aPvzONXkuMYg%3D",sz_score:"5.0",comment_score:"5.0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-539</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Thu, 11 Oct 2007 14:02:32 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-539</guid>
		<description>1) If that's a virtual URI probably
RedirectMatch 301 ^/joblistings http://www.example.com/acturial-jobs//dontfollow
would do the trick and avoid multiple redirects (your server actuary.com does a redirect from /joblistings to /joblistings/ first).

2) Add the http://www.example.com/dontfollow part to the 2nd URL

3) This kind of redirect affects each and every request, so search engines and users see the same header.</description>
		<content:encoded><![CDATA[<p>1) If that&#8217;s a virtual URI probably<br />
RedirectMatch 301 ^/joblistings <a href="http://www.example.com/acturial-jobs/" rel="nofollow">http://www.example.com/acturial-jobs/</a><br />
would do the trick and avoid multiple redirects (your server actuary.com does a redirect from /joblistings to /joblistings/ first).</p>
<p>2) Add the <a href="http://www.example.com" rel="nofollow">http://www.example.com</a> part to the 2nd URL</p>
<p>3) This kind of redirect affects each and every request, so search engines and users see the same header.<script type="text/javascript" id="szCommentHiddenTag:539">sz_comment_config_params.sz_comment_data[6]= {comment_id:"539", comment_author:"Sebastian", comment_author_url:"http://sebastians-pamphlets.com/about/", comment_author_email:"GX%2FM%2FRMuCXKp3Lga0Efp6euKyPuFADogwnj7IIDCOc0QVXurbSYXOqS%2FFjGx%2BQr2Y5HaNjs8D9NPHItf8b%2BFHXhUyjH%2B2WHBvp4YTH8lXHsLU%2FAo0iQXMKWR%2FpWTRNwhScKR3Hcx2UTNb0NbMzuH41bqmlQgJQTJnlJ2Gb6LWG4%3D",sz_score:"7.1",comment_score:"5.0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: disco4me</title>
		<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-538</link>
		<dc:creator>disco4me</dc:creator>
		<pubDate>Thu, 11 Oct 2007 12:59:32 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-538</guid>
		<description>Sebastian,

Thanks for your help on Google. Just to make sure I have this correct,

1) If I want to add a permanent redirect for the just the individual page that now comes up at www.example.com/joblistings/dontfollow (no underlying pges) and redirect it to just the individual page www.example.com/actuarial-jobs/dontfollow (no underlying pages) would it look like this add to my htaccess file?

redirect 301 /joblistings/ /actuarial-jobs/


2) If I want to add a permanent redirect for the page
http://www.example.com/actuarial-jobs/actuarial-jobs-casualty.htm/dontfollow to go to http://www.example.com/actuarial-jobs/actuarial-jobs-casualty.php/dontfollow would it look like this added to my htaccess file?

redirect 301 /actuarial-jobs/actuarial-jobs-casualty.htm /actuarial-jobs/actuarial-jobs-casualty.php

3) Do permanent redirect only affect search engine indexing or does this mean anyone who tries to go to the old page will now end up at the new page?

Thanks</description>
		<content:encoded><![CDATA[<p>Sebastian,</p>
<p>Thanks for your help on Google. Just to make sure I have this correct,</p>
<p>1) If I want to add a permanent redirect for the just the individual page that now comes up at <a href="http://www.example.com/joblistings" rel="nofollow">www.example.com/joblistings</a> (no underlying pges) and redirect it to just the individual page <a href="http://www.example.com/actuarial-jobs" rel="nofollow">www.example.com/actuarial-jobs</a> (no underlying pages) would it look like this add to my htaccess file?</p>
<p>redirect 301 /joblistings/ /actuarial-jobs/</p>
<p>2) If I want to add a permanent redirect for the page<br />
<a href="http://www.example.com/actuarial-jobs/actuarial-jobs-casualty.htm" rel="nofollow">http://www.example.com/actuarial-jobs/actuarial-jobs-casualty.htm</a> to go to <a href="http://www.example.com/actuarial-jobs/actuarial-jobs-casualty.php" rel="nofollow">http://www.example.com/actuarial-jobs/actuarial-jobs-casualty.php</a> would it look like this added to my htaccess file?</p>
<p>redirect 301 /actuarial-jobs/actuarial-jobs-casualty.htm /actuarial-jobs/actuarial-jobs-casualty.php</p>
<p>3) Do permanent redirect only affect search engine indexing or does this mean anyone who tries to go to the old page will now end up at the new page?</p>
<p>Thanks<script type="text/javascript" id="szCommentHiddenTag:538">sz_comment_config_params.sz_comment_data[7]= {comment_id:"538", comment_author:"disco4me", comment_author_url:"", comment_author_email:"i9hJYffHhpoMKgjuGf4WrjHzD5TFSQLx01hYlBb2f%2BoU%2FYBKf3xWzMzQ8ESjYwREZ1%2F96Pe0K81SfWxx2x88iWC4WQLnpmQZtEgfp9zn5CGAmwULebaxW5Pby0%2Fqqlni8dpsOw6G6Uhg6lGSQ579nZbpOx0mq88aPvzONXkuMYg%3D",sz_score:"5.0",comment_score:"5.0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jab</title>
		<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-534</link>
		<dc:creator>Jab</dc:creator>
		<pubDate>Wed, 10 Oct 2007 05:49:06 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-534</guid>
		<description>Well written post. Although I knew all that beforehand it is nice to see all these information on one page. It took me a couple of hours to gather all these information back than, when I learned all this.

Great Post. Jab</description>
		<content:encoded><![CDATA[<p>Well written post. Although I knew all that beforehand it is nice to see all these information on one page. It took me a couple of hours to gather all these information back than, when I learned all this.</p>
<p>Great Post. Jab<script type="text/javascript" id="szCommentHiddenTag:534">sz_comment_config_params.sz_comment_data[8]= {comment_id:"534", comment_author:"Jab", comment_author_url:"http://www.jabz.biz/", comment_author_email:"V2Gm5e4PHKelIdufhLssrI73cHtJBAcXuuShgDt2wJN5j%2FH476FNUk1vtrq8%2FbFQYdEzz6BHImruW2rKtrBrWuhrMoUS7nOVlnnDHuLzKo6ujyWUplI1K7%2Frum%2FGzTjHw6qayYJiG7%2ByanBk7%2FdXZQZl%2BdcRpmsjzaFBQiUWf%2Fg%3D",sz_score:"4.8",comment_score:"4.7"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-533</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 10 Oct 2007 04:22:32 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/#comment-533</guid>
		<description>Great post, Sebastian. Thanks for taking the time to write something so comprehensive!</description>
		<content:encoded><![CDATA[<p>Great post, Sebastian. Thanks for taking the time to write something so comprehensive!<script type="text/javascript" id="szCommentHiddenTag:533">sz_comment_config_params.sz_comment_data[9]= {comment_id:"533", comment_author:"John", comment_author_url:"", comment_author_email:"c8rdBbcnLYU11j10vtGM0Hto8b8MtUJUHZWmv1dKT2rAl3BUNaqXB3eFGRiM5udOayZarc3vcb203oXnCc5y%2FvP8KoSdcfJnpdMP5bW3z0CsWheWUbuavZC5eAiEm1qJ%2B4AAoe8EiXc2IGNIdIfcwxfJzM%2FDgYrBIHvjfIYo4LM%3D",sz_score:"5.0",comment_score:"5.0"};</script></p>
]]></content:encoded>
	</item>
</channel>
</rss>
