Kenneth Udut's Gravatar Kenneth Udut's Profile

About Me:

Last 10 Comments

1

I've implemented this rev="canonical" idea on http://free.naplesplus.us in the hopes that it catches on further.

It wasn't hard to put together. I followed the style used on php.net like so:

http://free.naplesplus.us/articles/view.php/50574/colcourt is the original

and in the header, I have:

<link rev="canonical" rel="self alternate shorter shorturl shortlink" href="http://free.naplesplus.us/go.php/colcourt" />

which is the form used on php.net, which I happen to like, as it takes into account not only the rev=canonical, but ALSO the rel= self, or alternate or shorter or shorturl or shortlink ideas, which are ALSO excellent notions.

If I wanted to go further, I will probably do a mod-rewrite to make the go.php into go

But I figured since I had this GREAT nick-name system already in place that I was hardly taking any advantage of on my CMS (YACS - a little known system out of france), I might as well use it.

It's not MUCH shorter (maybe 5-10 characters shorter at best - and some of them end up being LONGER) - but I figure that it's a beginning of a great idea!

Ken Udut of Naples Florida

Posted in /blog/2009/apr/save-the-internet-with-rev-canonical.

Fri, 26 Jun 2009 at 17:28:35: Link


Stats

  • Member Since: 26 Jun 2009
  • Comments: 1

Web Site

simplify3.livejournal.com

Blog Posts


Work and Books

Analog Essential PHP Security HTTP Developer's Handbook