gd_categories generates links that lead to 404 error

This topic contains 9 replies, has 3 voices, and was last updated by  Paul Schuytema 5 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #478665

    Paul Schuytema
    Expired Member
    Post count: 21

    I’m trying to build a meta directory page showing our categories. I’m using this shortcode:

    >>>>
    [gd_categories title=”Dirp” title_tag=”h4″ post_type=”0″ sort_by=”count” max_level=”2″ max_count=”all” max_count_child=”all”]
    <<<<

    I get the category list, but when I click on a category to see what places are in there, the link that was generated isn’t correct.

    For example, in a telecommunication category, it generates this link:

    https://www.iron.org/places/category/telecommunication/category/

    Which leads to a 404 error. Am I doing something wrong? Or is there an error in gd_categories?

    -Paul

    #478716

    Kor
    Moderator
    Post count: 16516

    Hi Paul,

    Thanks for your post. This could be a permalink issue and could you share your Website WP admin access here in private reply so that I could check on it?

    #478720

    Paul Schuytema
    Expired Member
    Post count: 21
    This reply has been marked as private.
    #478764

    Alex Rollin
    Moderator
    Post count: 27815

    Hi,

    Thanks for writing in about that. It looks like the shortcode builder on a new page (without divi) is having a problem.

    Your shortcode should have the post_type spelled out; give this one a try:

    
    
    
    [gd_categories title_tag="h4" post_type="gd_place" sort_by="count" max_level="1" max_count="all" max_count_child="all"]
    

    Instead a 0 is being inserted like

    post_type=0

    If you could share FTP details we will try to find a fix for this so it doesn’t happen anymore.

    #478765

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #479236

    Paul Schuytema
    Expired Member
    Post count: 21
    This reply has been marked as private.
    #479265

    Paul Schuytema
    Expired Member
    Post count: 21

    I *think* I have solved the problem – I went back to the default setting for the GeoDirectory permalinks, and it seems to work.

    -Paul

    #479268

    Paul Schuytema
    Expired Member
    Post count: 21

    I spoke too soon! Now things work – but not consistently.

    Here is a category page we use:

    https://www.iron.org/chamber-directory/

    If you click on something like “Health & Well Being” – the category link is fine and it goes to a proper listing page.

    If you click on “Contractors” – the link looks fine, but it redirects to an invalid page and gives me a 404 error.

    Ugh!

    -Paul

    #479303

    Alex Rollin
    Moderator
    Post count: 27815

    Seems ok now, cache perhaps?

    #479525

    Paul Schuytema
    Expired Member
    Post count: 21

    that must have been it – silly of me not to think of that! Looks good now.

    -P 🙂

Viewing 10 posts - 1 through 10 (of 10 total)

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

Open Support Ticket