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 3 years 2020-03-26T08:50:56-05:00 0 Answers 100 views 0

Leave an answer

Browse
Browse