Skip to content

404 on most viewed footer tab #15412

@arelra

Description

@arelra

User help reported 404s being thrown when clicking on a tab in the most viewed tab:

It happened after selecting 'Across the Guardian' at https://www.theguardian.com/us-news

Image

Chat threads:
https://chat.google.com/room/AAAAG9rU0m0/ekqc0yTjh8M/ekqc0yTjh8M?cls=10
https://chat.google.com/room/AAAAPTsU18A/zDtQ6A2Lk0U/zDtQ6A2Lk0U?cls=10

TLDR:

The links for the tabs are not valid links so when the associated JS runs and errors the link is followed and generates a 404.

Options are:

  • handle JS errors
  • make the link a valid fragment link
  • use CSS entirely for switching tabs

More discussion in the chat thread above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions