I have a project that has content being filtered throughout the site (many custom WP_QUERY calls). Originally there was no URL needs, just filtering by $_SESSION variable. Works perfectly, but NOW client wants each specialty to be loaded with a custom URL (much like categories do already). I need to to first know:

Is it possible to make a permalink structure with the $_SESSION variable?

If so:

How can I create a URL structure like this?

Archive Page:


Single Page:


Read more here: Permalink structure with $_SESSION variables


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: