Journal

Archive for the 'SEO' category.

Two for Web developers

Feb 26 | Posted by Jeffrey Barke | Add a Comment

I wrote a couple of posts recently that might be of interest to Web developers. The first was on canonical URLs and the second was on the Fileinfo extension for PHP.

Google, Yahoo and Microsoft now support a new value for the rel attribute of the link tag that allows one to publicly specify their preferred version of a URL. The value is "canonical" and it's simple to use: <link rel="canonical" href="http://your-site.com/preferred/url/" />. Read my post

The PHP Fileinfo extension is useful for determining the MIME types of files. The returned type is not based on a file's extension, but rather on certain byte sequences at specific positions within the file.

The first post I wrote describes how to compile and install Fileinfo on a Media Temple dedicated virtual server. The second talks about how to use Fileinfo and includes a wrapper class that might be helpful.

Robots.txt and the Sitemaps protocol

Jun 3 | Posted by Jeffrey Barke | Add a Comment

At Google I/O, I discovered you can add a line to your robots.txt file so that search bots can autodiscover your sitemaps built to the Sitemaps protocol. The format:

Sitemap: http://www.example.com/sitemap.xml

Jeffrey Barke is senior developer and information architect at theMechanism, a multimedia firm with offices in New York, London and Durban, South Africa.

Search the Archives
Feeds
NYC Bunker Live Cam

O'Reilly user group program member

Add to Technorati Favorites

We endorse

Basecamp

Want to work with us yet? We’re ready when you are.