serlo / serlo.org-legacy

Legacy implementation of https://serlo.org/
https://serlo.org/
Apache License 2.0
18 stars 3 forks source link

Don't index course pages individually #445

Closed inyono closed 3 years ago

inyono commented 5 years ago

Considering serlo/athene2#686 and the issues when searching for courses, we should have a view for the course itself that contains the content for all pages. Links to individual course pages should instead go to the root course (w/ JavaScript only showing the relevant page; see also https://support.google.com/webmasters/answer/66353?hl=en). This should solve all the issues (indexing courses, duplicated content). The only thing we lose with this (and let's discuss if that's a problem and if we could get around that), is that you can't get directly to an individual course page from the search (you would instead get to the beginning of the course). IMHO: this is fine since you'd usually won't start in the middle of the course, anyways.

Knorrke commented 5 years ago

Actually, it was a request, that the course page search results redirect to the beginning of the course. Because you should go through a course from the beginning. On the other hand, I don't really like that the user searches for something and then gets to a site, where that isn't visible directly... I would check with Ctrl + F and then leave^^

What about the loading time of such a huge page (espacially on mobile)? Do you think that could be a problem?

inyono commented 5 years ago

IMHO: loading time shouldn't be much different from articles (it's mostly text anyways). We might be able to defer loading of images, but I don't think that it is really an issue

Knorrke commented 5 years ago

Could be an issue on mobile, though, right?

inyono commented 5 years ago

Might. Not sure how many courses we do have that are image-heavy. Btw: Cloudflare is already doing some optimizations, so maybe we don't have to do much in this regard.

simonkoehl commented 5 years ago

A "one-page-course" design could also be very interesting from SEO perspective.

Would you "hide" course pages with JS or would you prefer a kind of scroll design, where the pages are already lined up under each other? I think @elbotho might have some ideas on this from his ebook work in university

kulla commented 3 years ago

Moved idea to new google document for feature requests