Sitemap build hanging/crashing site?

This topic contains 15 replies, has 4 voices, and was last updated by  Kiran 4 years, 12 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #510792

    coreyhammond
    Full Member
    Post count: 58

    We have this query below we found, it appears WP Geo Directory and Yoast are working together to build our xml sitemap, but the query seems to be buggy and crashes our site.

    Can someone take a look to see?

    SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.region_slug AS region, l.city_slug AS city 
    FROM wp_g1a4rar7xx_geodir_post_locations l 
    LEFT JOIN wp_g1a4rar7xx_geodir_gd_place_detail pd ON ( pd.region = l.region AND pd.city = l.city ) 
    LEFT JOIN wp_g1a4rar7xx_posts p ON p.ID = pd.post_id 
    LEFT JOIN 
    wp_g1a4rar7xx_term_relationships

    AS tr ON tr.object_id = p.ID
    LEFT JOIN

    wp_g1a4rar7xx_term_taxonomy

    AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = 'gd_placecategory' )
    WHERE p.post_type = 'gd_place' AND p.post_status = 'publish' AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL AND l.country_slug LIKE 'united-states'
    GROUP BY CONCAT(tt.term_id, '-', l.region_slug, '-', l.city_slug)
    ORDER BY date_gmt DESC;

    #510830

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks for posting, the developers have been alerted.

    #511250

    Naveen Giri
    Moderator
    Post count: 1559

    Hi @coreyhammond,

    please can you provide site login and FTP to check it further.
    because i haven’t see related issue on other site with same setup.

    Thanks

    #514457

    coreyhammond
    Full Member
    Post count: 58
    This reply has been marked as private.
    #514464

    coreyhammond
    Full Member
    Post count: 58

    Note: You shouldnt enable the sitemap or it will fully crash the site

    #514523

    Naveen Giri
    Moderator
    Post count: 1559

    @coreyhammond, so can you provide us a staging platform, where we can test it.

    Thanks

    #514960

    coreyhammond
    Full Member
    Post count: 58
    This reply has been marked as private.
    #514965

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

    Naveen Giri
    Moderator
    Post count: 1559
    This reply has been marked as private.
    #515135

    coreyhammond
    Full Member
    Post count: 58
    This reply has been marked as private.
    #515238

    coreyhammond
    Full Member
    Post count: 58

    Any update on this?

    #515244

    Naveen Giri
    Moderator
    Post count: 1559
    This reply has been marked as private.
    #515245

    coreyhammond
    Full Member
    Post count: 58

    Can you outline what was done? This is just a testing site and we’ll need to plan to migrate the updates/changes to our live site and ensure its working properly there too.

    #515264

    Naveen Giri
    Moderator
    Post count: 1559

    I haven’t done any code changes it seems cache issue. I have already mentioned what I have done and its fixed.

    #516660

    coreyhammond
    Full Member
    Post count: 58

    Hello – this isnt resolved unfortunately. I know you said nothing was done, but we had to disable yoast, then turn off the sitemap because if must have regenerated or tried to and crashed things. Can you please look again?

Viewing 15 posts - 1 through 15 (of 16 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