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:
Expected result:

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

Leave a Reply

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