SSWConsulting / SSW.Rules

Generator for ssw.com.au/rules
https://www.ssw.com.au/rules
MIT License
11 stars 12 forks source link

🐛 Redirect of category not working "/rules-to-better-flights" #1326

Closed tiagov8 closed 2 months ago

tiagov8 commented 2 months ago

cc @bradystroud @Aibono1225

Hi team,

Describe the Bug

I set a redirect from "...better-flights" to "...better-travel" https://github.com/SSWConsulting/SSW.Rules.Content/pull/8476/files

But https://ssw.com.au/rules/rules-to-better-flights is giving me an error

Image

Tasks

Thanks!

tiagov8 commented 2 months ago

Update: The same error is happening on another redirect:

https://www.ssw.com.au/rules/dones-do-you-use-email-for-tasks-only-not-communication/ should redirect as per this PR: https://github.com/SSWConsulting/SSW.Rules.Content/pull/8478

Image

tiagov8 commented 2 months ago

Hey @wicksipedia just saw your email "SSW.Rules - now with less VM" and maybe this is related to the change

wicksipedia commented 2 months ago

https://ssw.com.au/rules/rules-to-better-travel/ is still working

Obviously the wrong 404 page is showing, but the infra change shouldn't have affected the way redirects work.

wicksipedia commented 2 months ago

Turns out there was a step in the build process that was generating a rewrite map for IIS Switching this to the native gatsby createRedirect

wicksipedia commented 2 months ago

Done - Fix for redirects and 404 is now deployed to production

CleanShot 2024-05-02 at 14 25 36