Categories
CMS Mastering Development Wordpress

Add prefix URL based on the page template

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

My link: www.example.com/chicago
Expected result: www.example.com/m/chicago

This rule should be applied only for template-market.php
Does anyone know how I can achieve this?
Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *