Categories Asides Random Redirect Plugin Post author By Matt Post date April 22, 2007 6 Comments on Random Redirect Plugin I wrote a quickie plugin based on an idea from Techcrunch, when you visit the URL it redirects you to a random post from your blog. Share this: Related Random Redirect PluginAugust 4, 2008In "Asides"WordPress no-wwwJune 13, 2006In "Asides"Redirect PluginAugust 28, 2007In "Asides" ← Curt Schilling → Alexa Walled Garden 6 replies on “Random Redirect Plugin” Sounds cool! I saw it working live @ TechCrunch. I’m gonna give it a try on my blog. – Avi It looks like (according to Live HTTP headers) that you are using a 301 moved permanently. You might want to consider 303 See Other instead. From RFC 2616 re 301: “The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs. Clients with link editing capabilities ought to automatically re-link references to the Request-URI to one or more of the new references returned by the server, where possible.” That doesn’t seem like the right thing for a random redirect. re 303: “The response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource. This method exists primarily to allow the output of a POST-activated script to redirect the user agent to a selected resource. The new URI is not a substitute reference for the originally requested resource.” You might want to consider 302 Found as well. But I vote 303. […] feature is an outcome of a small plugin by Matt based on the suggestion for TechCrunch and WebWare. Thanks //engtech for pointing this out. This […] […] (This is using the /?random feature that Matt added) […] It uses 302 for me. […] like most blog would do, that is digging in the past archives from the present time. Recently Matt came with a new way to allow people to browse your content. Perhaps that might not be a definitive […] Comments are closed.