I have a taxonomy
location. All terms except one are to be treated differently. That's why I have two php files
Now, I want to make the URLs SEO friendly.
If URL = example.com/localdeals/national, I want to redirect it to taxonomy-location-national.php
If URL = example.com/localdeals/%any-other-term%, I want to redirect it to taxonomy-location.php
Basically I do not want to write the name of above files in .htaccess. I want to, somehow, reuse the default WordPress rules.
i.e. WordPress already directs example.com/?location=national and example.com/?location=boston correctly. I want to add new rules on top of these and want to reuse them.
Is it possible?