resource_router
resource_router copied to clipboard
How to redirect first random segment
I would like to redirect a random 2-character first segment with any 2nd, 3rd etc. segment to the home page.
I have a hole list of random 2-character 404's in Google Search Console that I would like to redirect to the home page.
domain.com/dO
domain.com/rL
domain.com/xU
domain.com/8U
etc.
domain.com/dO/bla/bla/bla
domain.com/tR/bla/bla
etc.
What is the rule needed to accomplish this?