I have a custom post type 'listings' with a custom taxonomy for the state (e.g. 'Maryland'), and county (e.g. Anne Arundel County). These are being rewritten as 'land-home-packages' and 'land-home-packages-md', respectively.
For the taxonomy archive template I have a filter to select the county but of course that loads the term as AJAX on the current page:
hidden link
For SEO purposes the client would like the county pages to load as their own URL, like this:
hidden link
Is there a way to do this? I've been searching and searching but can't find a solution...
Hello. Thank you for contacting the Toolset support.
I will have to review your current structure and then I will be able to guide you in the right direction.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
As I understand what you want is when user change the country - user should be redirected on the selected archive page?
For instance with the following page:
- hidden link
If I select the country "Howard" - do you want to redirect user on taxonomy archive of Howard?
-hidden link
if the solution I shared above is different then what you require, could you please share step by step information I have to follow and to what page/post/archive you want the user to redirect?
Unfortunately there is no such solution available as you can not bind the view's URLs directly like you used with select option values.
As requested - can you please share step by step information about what steps I should follow and to what page you want the user to redirect. I see the view results is correctly filtered but I still do not get idea about how exactly you want to configure and display your view and results. Maybe you can record a video and share all those information and I will review that and get back to you with possible solution if any exists.
Yeah, I assumed there wasn't a way to do this but I wanted to confirm.
I was curious to find out if there was a way to do what you described, take the user to the term page instead of ajax on the current state page. I thought there might be a way to have a nav menu of county terms instead of the select input... But then I don't know if there would be a way to have the nav menu be dynamic and only show non-empty terms, as well as having the current item highlighted?
So rather then adding the search filter what if you directly add a taxonomy view that lists all those terms and display the archive link using the taxonomy view and when user click on any of those link he/she desired the user will be redirected on the taxonomy archive page.