My dynamically generated pages' URLs used to be like this:
All pages however now, are moved to:
Note: the last part of these pages are optional > the_rest_.. Meaning, there isn't always something after dynamic_label_2-dynamic_label_1/
I'm fairly new to Nginx and can not figure out how to set this redirect rule.
My question is:
What is the redirect rule for nginx server here?