0
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!!
In which product and operating system? Browser? IIS? Apache? – harrymc – 2019-06-18T10:28:12.543
It's a standard WordPress site, I'm looking for a redirect rule I can add to the .htaccess file as it's running on Apache. – Aimee – 2019-06-18T11:00:08.677