internetarchive / openlibrary

One webpage for every book ever published!
https://openlibrary.org
GNU Affero General Public License v3.0
5.1k stars 1.33k forks source link

Shorten work/edition URLs #3425

Closed BrittanyBunk closed 4 years ago

BrittanyBunk commented 4 years ago

problem

URLs are too long and the tail end of them are not necessary, as they change whenever the book title gets changed. So removing it might let the site run faster and be easier to copy/paste/type in. Shortened versions do work in the same way as the current lengthier ones, so no need to have what's unnecessary around.

solution - examples

seabelis commented 4 years ago

The urls with ID only already work. Having the titles in the url is better for SEO.

BrittanyBunk commented 4 years ago

@seabelis that's what I said - it just redirects to a lengthier one, which is time-consuming and also longer to read. However, having the URL lengthier does have the purpose of validating that a person is in the correct spot.

I didn't know that and don't see how, but if there's a purpose, then that's good. However, is there a way to improve the SEO to move away from this if the direction to shorten URLs is chosen?

mekarpeles commented 4 years ago

No, the url being verbose and human readable is very important.

Shorter urls (in fact, even openlibrary.org/w/OL7829676M) work. Our system works for all different entities which need it (patrons, search engines, etc)