
When using Flex Loop Filter with Flex Loop Builder, I want to avoid verbose, ugly query parameters as below:
http://www.mydomainname.com/?tdb_tax_tdtax_my_taxonomy_name=something
Instead I would like to see something like:
http://www.mydomainname.com/?mytaxonomyname=something
The problem is I already created and used the custom taxonomy tdtax_my_taxonomy_name following the example of one of the prebuilt websites (my mistake). I am using ACF.
If I change the Taxonomy Key in ACF it will break my site, so that is not an option.
I already set up a permalink rewrite via ACF Advance Settings for the custom taxonomy, so I can go to http://www.mydomainname.com/portfolio/category/something and that works.
The problem is still the Flex Loop Filter and the long, ugly query parameter. I am sure this can be changed with some php magic, but how?
Any help greatly appreciated.
So I ended up changing the taxonomy key in ACF from “tdtax_my_taxonomy_name’ to ‘portfolio_category’. That of course broke my site because the relationship Custom Post Type – Custom Taxonomy was cut.
I fixed that by updating the database directly.
update wordpress.wp_term_taxonomy set taxonomy = ‘portfolio_category’ where taxonomy = ‘tdtax_my_taxonomy_name’;
So now when I use the Flex Loop Filter I see http://www.mydomainname.com/?tdb_tax_portfolio_category=something.
Which looks better than before, although still not quite there, I would like to get rid of the tdb_tax prefix altogether.
http://www.mydomainname.com/?tdb_tax_portfolio_category=something (nay)
http://www.mydomainname.com/?portfolio_category=something (yea!)
Hi,
Unfortunately some of them can be only with custom code changed, but some of theme can be renamed, so instead to display the ?tdb_tax_tdtax_my_taxonomy_name=something to have a different parameter, what you can do is to use a custom plugin like this one – https://wordpress.org/plugins/rename-taxonomies/ but the problem is that there can appear 404 for some links, so the website should be checked after the plugin is applied.
Thank you!
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-advertisement | 1 year | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Advertisement". |
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
| Cookie | Duration | Description |
|---|---|---|
| _ga | 2 years | This cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assign a randomly generated number to identify unique visitors. |
| _gat_gtag_UA_43963494_1 | 1 minute | This cookie is set by Google and is used to distinguish users. |
| _gid | 1 day | This cookie is installed by Google Analytics. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected including the number visitors, the source where they have come from, and the pages visted in an anonymous form. |
| Cookie | Duration | Description |
|---|---|---|
| IDE | 1 year 24 days | Used by Google DoubleClick and stores information about how the user uses the website and any other advertisement before visiting the website. This is used to present users with ads that are relevant to them according to the user profile. |
| test_cookie | 15 minutes | This cookie is set by doubleclick.net. The purpose of the cookie is to determine if the user's browser supports cookies. |
| VISITOR_INFO1_LIVE | 5 months 27 days | This cookie is set by Youtube. Used to track the information of the embedded YouTube videos on a website. |
| YSC | session | This cookies is set by Youtube and is used to track the views of embedded videos. |
| Cookie | Duration | Description |
|---|---|---|
| CONSENT | 16 years 5 months 26 days 13 hours 25 minutes | No description |
| yt-remote-connected-devices | never | This cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video. |
| yt-remote-device-id | never | This cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video. |