amp.dev icon indicating copy to clipboard operation
amp.dev copied to clipboard

Encountering a 404 page

Open mukham12 opened this issue 2 years ago • 3 comments

🐛 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.

IMG_6255 IMG_6256

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/

mukham12 avatar Nov 28 '23 00:11 mukham12

thanks for the report. we'll triage

erwinmombay avatar Nov 28 '23 00:11 erwinmombay

Verified.

I looked up the earliest deployment I can find (4/30/2023) and it contained the same issue. Therefore the root cause is probably with the template itself, and not associated with the recent dependency change.

powerivq avatar Nov 28 '23 00:11 powerivq

I believe this is the corresponding template. Its last modification dates back to 2021. I would be surprised if nobody has caught this since then.

mukham12 avatar Nov 28 '23 00:11 mukham12