Archive Pages by Country/City/State
This topic contains 28 replies, has 4 voices, and was last updated by Kiran 6 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 17, 2019 at 4:31 am #481252
My old URL structure allowed for archive pages as follows:
https://gd1.rinktime.com/rinks/united-states/illinois/chicago/
https://gd1.rinktime.com/rinks/united-states/illinois/
https://gd1.rinktime.com/rinks/united-states/colorado/However, this is no longer working with v2. It’s pulling everything by default.
https://www.rinktime.com/rinks/united-states/illinois/chicago/
https://www.rinktime.com/rinks/united-states/illinois/
https://www.rinktime.com/rinks/united-states/colorado/Instead, it looks like I have to do:
https://www.rinktime.com/rinks/category/roller-skating-rink/united-states/illinois/chicago/
https://www.rinktime.com/rinks/category/roller-skating-rink/united-states/illinois/chicago/Can I no longer have archive pages that filter on location only and for the post type and not the category?
April 17, 2019 at 6:28 am #481260Hi jkirker,
Thanks for your post. I’m able to see the issue here https://www.rinktime.com/rinks/united-states/illinois/chicago/ . It doesn’t seem to filter the locations correctly. Could you share your WP admin access for this Website in private reply?
April 17, 2019 at 11:21 am #481324Hello,
You are using BB on that page. You must use BB themer instead. It is not possible to only use BB on the template page. Without an advanced themer we cannot guarantee results for template pages. Read more about that here: https://wpgeodirectory.com/docs-v2/integrations/builders/
It does not look like you are using GD Loop. Archive pages must use GD Loop in order to display the appropriate query based on the URL pattern.
https://wpgeodirectory.com/docs-v2/geodirectory/settings/permalinks/
April 17, 2019 at 3:12 pm #481385@alex, thanks for the reply. I’ve modified the archive pages to use all 3 available GD Loop features. Still, no luck unless I include a tag or category filter. The map in the sidebar appears to be correct though.
@Kor, would you still like access to the backend to poke around?
April 17, 2019 at 4:40 pm #481409Please share WP Admin in a private reply and we will take a look.
April 17, 2019 at 4:44 pm #481410This reply has been marked as private.April 17, 2019 at 5:24 pm #481421This reply has been marked as private.April 17, 2019 at 5:50 pm #481426This reply has been marked as private.April 17, 2019 at 7:25 pm #481438Sometimes, on sites with lots of CPTs, there can be an issue with db tables.
We have a tool here: https://wpgeodirectory.com/docs-v2/geodirectory/status/#clear-version
GD Clear version numbers. That will re-run installation scripts and check to make sure tables are present. I ran that.
I can see on the themer layout that ‘Places Archive’ is now present. That is what changed and was fixed. Good!
“All Archives” was not including the places archive.
Working now!
April 17, 2019 at 7:33 pm #481441This reply has been marked as private.April 17, 2019 at 7:50 pm #481447Try our other tool, https://wpgeodirectory.com/docs-v2/geodirectory/status/#location-duplicates
Here is where they come from and another way to fix them:
https://wpgeodirectory.com/docs/better-search-replace-plugin/April 17, 2019 at 8:01 pm #481452This reply has been marked as private.April 17, 2019 at 8:18 pm #481456Try this method to see what you find:
https://wpgeodirectory.com/docs/better-search-replace-plugin/It could be a tag, category, listing title or any other slug.
April 17, 2019 at 8:32 pm #481464This reply has been marked as private.April 17, 2019 at 8:38 pm #481470This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket