So I have a number of pages with URLs end in the same thing but have different content between the main URL and the final suffix. Some of these have multiple levels. For example:
https://www.example.com/category-1/page-to-be-redirected
https://www.example.com/news/topic-1/page-to-be-redirected
https://www.example.com/subfolder/category-1/category-2/page-to-be-redirected
https://www.example.com/blog-news/page-to-be-redirected
I need a redirect rule which will find all of these instances (anything including '/page-to-be-redirected' in this example) and send them all back to the home page (e.g. https://www.example.com).
Any help / advice would be amazing. Thank you!!