Removing “?tx_portfolio_cat=” Query String from WP ‘Portfolio’ URL?
-
Hi guys,
I hope you are all well? Was hoping you may be able to help here?
We have created some thumbnail galleries and categories using the Content Views Pro plugin.
When using WordPress ‘Portfolio’, Content Views Pro Plugin puts this “?tx_portfolio_cat=” in the url which isn’t visually nice or good for SEO. I think it is something to do with sorting the right pictures into their chosen categories. It is required but I was hoping to somehow hide the “?tx_portfolio_cat=” from the front-end somehow, so that it doesn’t appear in the URL.
Below is a test where we are trying to include the category name in the url, like ‘toys’ for example. This is what we are getting below:
https://gravity360.co.uk/360-2/product-photography/gallery/?tx_portfolio_cat=toysHowever, ideally I would like this below:
https://gravity360.co.uk/360-2/product-photography/gallery/toysI have been trying to resolve this with CV but they say removing this query string is impossible. What is frustrating is that if the CV galleries were setup as a post then this problem would not exist. I think it is WP’s ‘Portfolio’ that adds the query string.
Do you have any ideas on how we could exclude this query string from the front end? I did see this post and wondered if it might work with a tweak to the code (using your Code Snippets Plugin option)?
https://kinsta.com/knowledgebase/remove-query-strings-static-resources/If you think this may work, would it be possible to get some code that would work to remove this “?tx_portfolio_cat=” from the front end only?
Any help would be greatly appreciated.
Thanks, Mark
The page I need help with: [log in to see the link]
- The topic ‘Removing “?tx_portfolio_cat=” Query String from WP ‘Portfolio’ URL?’ is closed to new replies.