GSA / digitalgov.gov

Digital.gov: Better websites. Better government.
https://digital.gov
Other
222 stars 302 forks source link

Update lost-and-found-mapping-page.md #7728

Closed ToniBonittoGSA closed 3 months ago

ToniBonittoGSA commented 3 months ago

https://digital.gov/about/lost-and-found-mapping-page/ was a directory of popular pages on HowTo.gov, DigitalGov's [then-named digitalgov.gov] predecessor.

Instead of redirecting to the main Resources page on DG, Cloud.gov Pages was serving a 404 page.

Screenshot 2024-06-21 at 2 15 54 PM

1) the .md file is located in /about/ folder 2) front matter has

expiryDate: 2020-10-20 aliases:

  • /resources/

3) but page does not redirect


Wayback: www.digitalgov.gov 2014, under About: https://web.archive.org/web/20141220050902/https://www.digitalgov.gov/about/lost-and-found-mapping-page/ 2018, at root: https://web.archive.org/web/20180116142325/https://digitalgov.gov/lost-and-found-mapping-page/

digital.gov Feb 2020, /about/ https://web.archive.org/web/20200228185953/https://digital.gov/about/lost-and-found-mapping-page/ redirects to root https://web.archive.org/web/20200228185953/https://digital.gov/lost-and-found-mapping-page/ October 2020, expiry & alias: expirydate: 2020-10-20

Summary

Basic description of work done. Closes [#issue_no].

  1. remove expirydate, add redirectto
  2. replace all Hugo short code links ({{< link "digitalgov-user-experience-resources.md" >}})with full URL (part of archive process, and some were causing build failures)

Preview

/about/ does not load; 404 https://federalist-466b7d92-5da1-4208-974f-d61fd4348571.sites.pages.cloud.gov/preview/gsa/digitalgov.gov/add-redirect-to-main-resources/about/lost-and-found-mapping-page/

https://federalist-466b7d92-5da1-4208-974f-d61fd4348571.sites.pages.cloud.gov/preview/gsa/digitalgov.gov/add-redirect-to-main-resources/about/lost-and-found-mapping-page/ redirects to Resources.

Solution

How To Test

  1. First Step
  2. Second Step
  3. Third Step

Dev Checklist

github-actions[bot] commented 3 months ago

:mag: Preview in Federalist