URL chopping test
From SiteRay wiki
| SiteRay Test | |
|---|---|
| First appeared: | Sitescore 1.0 |
| Applies to: | All versions |
| Type: | Individual test |
| Scored: | Always |
What does it do?
Tests whether URLs (web addresses) work when pieces are chopped off them.
Why is it important?
It is surprisingly common for users (generally more advanced users) to manually modify URLs, by chopping sections off them, like so:
www.example.com/news/article1
Becomes:
www.example.com/news/
Some search engines also undertake URL chopping automatically to try and discover more pages. The Google Toolbar also provides an option to traverse up one level in a website, which does the same thing.
Example results
How is it measured?
For each page tested, all possible chopped URLs (separated by forward slashes) are tested to see whether they return valid webpages or errors. The score is based on the proportion of tested URLs which handled being chopped successfully, with a perfect 10 being awarded to sites with none.
Technical explanation
Any HTTP status code errors in the response count as an invalid response, e.g. 404, 500, etc.
How to improve this score
Wherever possible, ensure your website handles these common potential URLs intelligently. If there is an appropriate page, redirect the user to it using a server-side redirection.
How to use this test effectively
This test is relatively low priority, but a useful item to check and improve on an ongoing basis.
