I want to rewrite URLs (with parameters) from my old domain to URLs (without parameters) to my new domain.
The old URL:
old-domain/deceased-persons-2021/?id=1500_betty-white
The new URL:
new-domain/deceased-persons/2021/betty-white
The problem is, that I don't need only the parameter-value as back reference, but also the year '2021'.
If the URL's would be old-domain/deceased-persons-2021/
OR old-domain/deceased-persons/?id=1500_betty-white
, I knew the solutions. But I don't know how to manage the back reference in the URL in combination with the back reference in the parameter.
Thank you very much in advance for your help! Andreas