Add prefix to page URL based on the page template

Question

I want to add a prefix to page URLs based on the page template and update also permalinks in the pages.

Current URL:

www.example.com/chicago

Expected result:

www.example.com/m/chicago

This rule should be applied only for template-market.php.

0
, , Dawid Malec 10 months 0 Answers 100 views 0

Leave an answer