ampproject / ampproject/amp.dev

Encountering a 404 page

Open
#6,690 3 comments 0 reactions 2 assignees Claimed by @powerivq View on GitHub
Status: Pending Triage Type: Bug
Dominant language
HTML
Stars
600
Forks
675
PR merge metrics
No merged PRs in 30d

Description

## 🐛 Bug Report

### Current behavior
The examples on https://amp.dev/about/websites showcase various components such as Accordion, Animation, Carousel, and Autocomplete. Each component includes a link labeled "All about this component." However, clicking on this link redirects to a 404 page. This issue seems to be related to the addition of "/{format}/" in the URL, for instance, [https://amp.dev/documentation/components/{format}/amp-carousel](https://amp.dev/documentation/components/%7Bformat%7D/amp-carousel).

![IMG_6255](https://github.com/ampproject/amp.dev/assets/55890311/b4154a13-67f5-4ea0-9a8e-ed1b7fb0d899)
![IMG_6256](https://github.com/ampproject/amp.dev/assets/55890311/c2def978-0a7a-41e6-a675-7e880c6dcd7b)

### Expected behavior/code
The correct component page should load when clicking “All about this component” button. For example, https://amp.dev/documentation/components/amp-carousel/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.