Need Help on Taxonomy, Categories and URL Structure
This topic contains 13 replies, has 2 voices, and was last updated by Guust 8 years, 7 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: categories, locations, url structure
-
AuthorPosts
-
April 20, 2016 at 8:51 pm #167245
I’m a newbie here so just getting the hang of it. I have a database of roofing companies. At this time, there’s no other category (although there might be in the future). I initially set up my categories with the parent of “roofing companies” and sub categories for every state, as I’d like people to be able to see all the roofers in a given state as a filter. Here’s an example:
cat_name cat_posttype cat_parent cat_schema
Arkansas gd_place Roofing Companies HomeAndConstructionBusinessBut, I’m not sure that is making sense now. I’m looking for advice on how to correctly set up my taxonomy and categories so that it is most user friendly for consumers. Also, I have many companies (different addresses) in the same city and it’s making multiple locations for every address which puts numbers in the URL.
Can you help me work through the right logic for the category and location configuration and maybe some tips for how to structure my data so it imports correctly. Here’s an example of what I’m trying do do:
DESIRED URL:
/roofing-companies/united-states/arkansas/north-little-rock/contractors/raintight-roofing-inc/
CURRENT URL:
/places/united-states/arkansas-4/north-little-rock-4/arkansas/raintight-roofing-inc/
I’d want users to be able to see all roofers in arkansas as well as all roofers in North Little Rock
Also, how do you change “places” to a different word?
April 20, 2016 at 10:19 pm #167308Use the Places CPT (you can change that name by activating the Custom Post Type addon)
Use one category “roofing companies”
Add your listings and let the system do its work when adding the address.Every location will have its own page, you will see it if you add the location switcher.
To get /roofing-companies/united-states/arkansas/north-little-rock/contractors/raintight-roofing-inc/, change Places by activating the Custom Post Type addon.
I suspect you have duplicate locations, not sure how you did that, unless you keep adding them at GD > Multilocations rather than let the system add them.
But you can merge them: https://wpgeodirectory.com/docs/faqs/how-do-i-merge-locations/Examples:
All listings in NY state: http://wpgeo.directory/location/united-states/new-york/
All listings in Chicago: http://wpgeo.directory/location/united-states/illinois/chicago/April 20, 2016 at 10:19 pm #167309Post your URL and WP admin details in a private message if you get stuck.
April 20, 2016 at 11:36 pm #167345This reply has been marked as private.April 21, 2016 at 12:40 am #167364I just looked at your examples:
All listings in NY state: http://wpgeo.directory/location/united-states/new-york/
All listings in Chicago: http://wpgeo.directory/location/united-states/illinois/chicago/And that’s exactly what I’d like too! Thanks for taking a look at my data and config and setting me up for success. Very appreciated.
April 21, 2016 at 2:48 pm #1680481. You are on a managed wordpress server, that will not work properly. Ask GoDaddy to move you to a VPS or move host. See https://wpgeodirectory.com/docs/server-requirements/
2. I corrected your WP permalinks settings: https://wpgeodirectory.com/docs/basic-installation/#postnames
3. Fixed your homepage settings: https://wpgeodirectory.com/docs/basic-installation/#home
4. Activated location switcher.
5. /roofing-companies/united-states/arkansas-1/north-little-rock-1/contractors/raintight-roofing-inc/
See https://wpgeodirectory.com/docs/faqs/why-do-my-locations-get-a-1-at-the-end/6. CSV: Your website URLs for the listings need http:// in front.
Organise your categories first and update the categories in the CSV file.Please check.
April 22, 2016 at 1:29 am #168374This reply has been marked as private.April 22, 2016 at 1:45 am #168379This reply has been marked as private.April 22, 2016 at 3:04 am #168468For other GD customers, GoDaddy has done the migration, it should be dead easy for them and part of support.
April 24, 2016 at 10:36 pm #170300I moved from a managed wordpress host on Godaddy to a VPS 2GB Ram. I’m hoping I did the migration correctly. I haven’t deleted the managed version as I want to confirm the migration is done right. I was able to upload all of my records using the import and did what you said above. They all imported perfectly! However, when I go to /location/ or any of the geodirectory pages, I am now getting this error message:
Not Found
The requested URL /location/ was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I see all of my listings, categories, etc and I see the pages in my CMS, but they show as 404 errors when I try to view them. Can you take a look to see if I configured something wrong.
The geodirectory plugins seem to be working in the backend although they do take quite a bit of memory, I was seeing a few “memory limit exhausted” messages while testing. I forced an increase in the memory limit in WordPress config file but I only have 250 records so I’m concerned that the memory is already being exhausted. Do I need to move up from a 2GB to something more?
I am going to send all of my login credentials in the next post set to private. Where am I going wrong?
April 24, 2016 at 10:43 pm #170301This reply has been marked as private.April 25, 2016 at 2:31 am #170325Have you made sure the domain points at the new installation, and not the old one?
It sort of works for me, but it seems to be the old installation I am accessing.April 25, 2016 at 2:56 am #170332How do I make a page that looks like: http://wpgeo.directory/all-locations/
April 25, 2016 at 3:08 am #170338Have a look here: https://wpgeodirectory.com/docs/location-manager-shortcodes/#switch
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket