Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Canonicalize URLs

#15

It would be great if anemone can handle canonical URLs.

For example, if we enable canonicalization,

  http://www.example.com/index.html
  http://www.example.com/index.asp
  http://www.example.com/index.php
  http://www.example.com/index.cgi?a=2&b=3
  http://www.example.com/index.cgi?foo=bar

should all resolve to:

  http://www.example.com/
and anemone should not download the duplicate pages.

Another example:

  http://www.example.com/search.php?q=how+to+spider
  http://www.example.com/search.php?q=how+to+not+spider
should reduce to :
  http://www.example.com/search.php

Reported by Nilesh · December 16th, 2009 @ 11:14 PM

State: open
Milestone: 0.5.0
Assigned to: chris (at chriskite) chris (at chriskite)

Activity

  1. chris (at chriskite)
    chris (at chriskite)
    • State changed from new to open
    • Assigned user set to chris (at chriskite)

    January 22nd, 2010 @ 08:12 PM

  2. chris (at chriskite)
    chris (at chriskite)
    • Milestone set to 0.5.0

    I think this makes sense if we utilize the rel=canonical tag on a page. The same script with a different query string should be considered as a different page unless the webpage itself tells us otherwise.

    May 25th, 2010 @ 09:16 PM

  3. Lee Hambley
    Lee Hambley
    • Milestone order changed from 0 to 0

    Agreed completely, if there's a canonical URI/L specified in the source, it should be used (or at least made available).

    September 7th, 2010 @ 09:53 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.