Hello! I’m seeing an issue where the following redirects do not work.
Site: https://rad-cm.netlify.app
Framework: Astro 2.2.0
https://rad-cm.netlify.app/* https://rad.cm/:splat 301!
https://www.christianpetty.com/* https://rad.cm/:splat 301!
https://christianpetty.com/* https://rad.cm/:splat 301!
https://www.radianrad.com/* https://rad.cm/:splat 301!
https://radianrad.com/* https://rad.cm/:splat 301!
https://www.radianrd.com/* https://rad.cm/:splat 301!
https://radianrd.com/* https://rad.cm/:splat 301!
https://www.radian.ltd/* https://rad.cm/:splat 301!
https://radian.ltd/* https://rad.cm/:splat 301!
https://www.radian.llc/* https://rad.cm/:splat 301!
https://radian.llc/* https://rad.cm/:splat 301!
I’m wondering if this is an Astro issue since the following redirects do work:
https://wiki.radianrad.com/* https://bb.rad.cm 301!
https://radian.wiki/* https://bb.rad.cm 301!
https://wiki.rad.cm/* https://bb.rad.cm 301!
SamO
2
hi there, before we dig in, did you see this brand new guide on debugging redirects?
I strongly suggest you give it a thorough read through and see if this fixes your problem:
if not, please post again, and we’ll try and troubleshoot.
None of these worked for me.
1 Like
Hello! Yes I followed that. The rules are created without error, but it’s looking like none of the domain-level ones are working.
I moved one of the lines to a fresh new Netlify site along with that subdomain and it works, so maybe this setup specifically.
Here’s the full _redirects
build output:
https://wiki.radianrad.com/Tools/Tolerance+stack+analysis https://bb.rad.cm/t/tolerance-analysis/133 301!
https://wiki.radianrad.com/* https://bb.rad.cm 301!
https://radian.wiki/* https://bb.rad.cm 301!
https://wiki.rad.cm/* https://bb.rad.cm 301!
https://onshape.rad.cm/* https://bb.rad.cm/t/about-onshape-cad/182 301!
https://mathcad.rad.cm/* https://bb.rad.cm/t/ptc-mathcad/77 301!
https://qr.rad.cm https://rad.cm/ 301!
https://rad-cm.netlify.app/* https://rad.cm/:splat 301!
https://www.christianpetty.com/* https://rad.cm/:splat 301!
https://christianpetty.com/* https://rad.cm/:splat 301!
https://www.radianrad.com/* https://rad.cm/:splat 301!
https://radianrad.com/* https://rad.cm/:splat 301!
https://www.radianrd.com/* https://rad.cm/:splat 301!
https://radianrd.com/* https://rad.cm/:splat 301!
https://www.radian.ltd/* https://rad.cm/:splat 301!
https://radian.ltd/* https://rad.cm/:splat 301!
https://www.radian.llc/* https://rad.cm/:splat 301!
https://radian.llc/* https://rad.cm/:splat 301!
https://fire.christianpetty.com https://rad.cm/fire 301!
/qr https://qr.rad.cm 301!
/portfolio /file/100010G%20RAD%20Portfolio.pdf 301!
/resume /file/christian_petty_resume.pdf 301!
/ty/* https://bb.rad.cm/:splat 301!
/s/* https://bb.rad.cm/search?q=:splat 301!
/search/* https://bb.rad.cm/search?q=:splat 301!
/mathcad https://bb.rad.cm/t/ptc-mathcad/77 301!
/met https://bb.rad.cm/t/mathcad-excel-tool/61 301!
/hello /.netlify/functions/hello 200
/rand_color /.netlify/functions/random_hex_color 200
/calc/thread-profile* /threads:splat 301!
/tools/thread-profile* /threads:splat 301!
/tools/log* /log:splat 301!
/ /.netlify/edge-functions/entry 200
/calc-test /.netlify/edge-functions/entry 200
/contact /.netlify/edge-functions/entry 200
/success /success/index.html 200
/threads /.netlify/edge-functions/entry 200
/coils /.netlify/edge-functions/entry 200
/fire /.netlify/edge-functions/entry 200
/math /.netlify/edge-functions/entry 200
/404 /404.html 200
/log /.netlify/edge-functions/entry 200
/ip /.netlify/edge-functions/entry 200
Ah, curiously https://radian.llc
does not redirect. Nor does https://radian.llc/contact
But https://radian.llc/123456
, or https://radian.llc/abcdef
(indeed any random URL that isn’t an actual page) does.
My best guess is that Astro is causing the issue.
Thank you, I’ve got an issue with Astro open now.