I'm sorry I wasn't clear. English is not my first language. I have asked a colleague to help rewrite the question and I hope this clarifies what I am trying to achieve;
I have a page that describes my services:
https://www.example.com/my-services/
I then have another page that goes into more detail about the services offered in a particlaur location. To retrieve the variable data for this location-specific page, I use the URL:
https://www.example.com/my-services/?location=london
However, my boss does not want any URL paramaeters to be visible and wants this page URL to be generated in the browser as:
https://www.example.com/my-services/london/
I do not know how to achieve this "pretty URL". Any help and advice would be greatly appreciated.
Thanks in advance.
index.phpURLs with URL parameters, and those URL parameters are not GET parameters you can grab via$_GETthey're query parameters akaget_posts( array ( these things here ) );or$query = new WP_Query( [ 'queryvar' => 'value' ] );The same stuff asposts_per_pageetc