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 Ticket
  • Author
    Posts
  • #167245

    Roofing Counsel
    Expired Member
    Post count: 13

    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 HomeAndConstructionBusiness

    But, 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?

    #167308

    Guust
    Moderator
    Post count: 29970

    Use 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/

    See also https://wpgeodirectory.com/docs/layout/

    #167309

    Guust
    Moderator
    Post count: 29970

    Post your URL and WP admin details in a private message if you get stuck.

    #167345

    Roofing Counsel
    Expired Member
    Post count: 13
    This reply has been marked as private.
    #167364

    Roofing Counsel
    Expired Member
    Post count: 13

    I 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.

    #168048

    Guust
    Moderator
    Post count: 29970

    1. 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.

    #168374

    Roofing Counsel
    Expired Member
    Post count: 13
    This reply has been marked as private.
    #168379

    Roofing Counsel
    Expired Member
    Post count: 13
    This reply has been marked as private.
    #168468

    Guust
    Moderator
    Post count: 29970

    For other GD customers, GoDaddy has done the migration, it should be dead easy for them and part of support.

    #170300

    Roofing Counsel
    Expired Member
    Post count: 13

    I 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?

    #170301

    Roofing Counsel
    Expired Member
    Post count: 13
    This reply has been marked as private.
    #170325

    Guust
    Moderator
    Post count: 29970

    Have 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.

    #170332

    Roofing Counsel
    Expired Member
    Post count: 13

    How do I make a page that looks like: http://wpgeo.directory/all-locations/

    #170338

    Guust
    Moderator
    Post count: 29970
Viewing 14 posts - 1 through 14 (of 14 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount