Skip to content

refactor: update redirect rules#396

Merged
stasadev merged 1 commit intomainfrom
20250721_stasadev_redirects
Jul 21, 2025
Merged

refactor: update redirect rules#396
stasadev merged 1 commit intomainfrom
20250721_stasadev_redirects

Conversation

@stasadev
Copy link
Member

@stasadev stasadev commented Jul 21, 2025

The Issue

Not all redirects worked properly with/without trailing slashes.

How This PR Solves The Issue

  • Groups redirects for better readability
  • Adds proper redirects for /ddev-local and /blog
  • Fixes black text on dark background in /blog/authors

Manual Testing Instructions

All 4 links should be properly redirected:

  • https://20250721-stasadev-redirects.ddev-com-front-end.pages.dev/ddev-local/ddev-local-and-phpstorm-debugging-with-wsl2
  • https://20250721-stasadev-redirects.ddev-com-front-end.pages.dev/ddev-local/ddev-local-and-phpstorm-debugging-with-wsl2/
  • https://20250721-stasadev-redirects.ddev-com-front-end.pages.dev/blog/ddev-local-and-phpstorm-debugging-with-wsl2
  • https://20250721-stasadev-redirects.ddev-com-front-end.pages.dev/blog/ddev-local-and-phpstorm-debugging-with-wsl2/

Also:

  • https://20250721-stasadev-redirects.ddev-com-front-end.pages.dev/blog/author
  • https://20250721-stasadev-redirects.ddev-com-front-end.pages.dev/blog/author/

Automated Testing Overview

Related Issue Link(s)

Release/Deployment Notes

@stasadev stasadev merged commit fb84ad5 into main Jul 21, 2025
2 checks passed
@stasadev stasadev deleted the 20250721_stasadev_redirects branch July 21, 2025 13:06
@rfay
Copy link
Member

rfay commented Jul 21, 2025

Thanks!

stasadev added a commit that referenced this pull request Jul 22, 2025
stasadev added a commit that referenced this pull request Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants