SEO friendly category listings


I am developing a plugin that has listing items. I’ve created a shortcode that lists all the items, but it has a categories dropdown. On dropdown change it should load a new page with only the specific category items. Now the issue is that I want those URLs to be SEO friendly. currently the shortcode is pasted into a WP page, and for example that page link is, this link should provide all the items. Now lets say i change the dropdown option and the page reloads, so instead of the url turning into I want it to be, keep in mind that I am using a shortcode, so it should be dynamic, meaning in whatever page the user pastes the shortcode the categories should be appended to the page url.

How can I achieve this? Most other topics tackle this issue only with static pages, so they do not really help my case.


mariusslo 2 years 2020-12-30T07:10:40-05:00 0 Answers 3 views 0

Leave an answer