I have Area pages like below:
http://www.example.com/area1
http://www.example.com/area2
On each area page common wp menus are displaying categories. To illustrate:
Menu Items:
-> category1
-> category2
I have set my Permalink settings as below:
Custom Structure: http://www.example.com/artiklar/%post_id%
So for now My category URL is:
http://www.example.com/artiklar/category/category1
But my requirements is when user visit category page suppose category1 from area page say area1 then category URL turns out like below URL:
http://www.example.com/artiklar/category/category1?tag=area1
And if category menu is visited from area 2 then it should be :
http://www.example.com/artiklar/category/category1?tag=area2
Please suggest, I am not getting any idea by searching on web how to implement this kind of structure.
EDIT:
Trying to make it more clear that I want to append slug of page to category URL (page from where user will visit category link, slug of that page will get added to category URL at end of URL)