This question already has an answer here:
I have problems with the redirection of my old website to our new website under a new domain. The old website was created with Wordpress and the simple redirect 301 was successful. However, some pages have this structure:
I had problems redirecting this to the new website because the simple redirect 301 only worked for the
I have also tried this:
RedirectMatch 301 /hotel/(.*) https://new.example/accommodation/
But this redirects all pages to the same new one. I would like to accomplish this:
I would really appreciate any help!