Strange URL & no more place results in search

This topic contains 34 replies, has 4 voices, and was last updated by  Vlad Chirila 7 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #375875

    Kiran
    Moderator
    Post count: 7069

    Hello Vlad,

    1. Some of my listings cannot be found. I re-saved the permalinks and still this problem persists.
    3. The country location disappeared from the missing listings. See the screenshot attached.
    <
    Please check now all listings are working fine and country slug attached to the listing urls. I have fixed it via GD export/import process as i described in my last reply.

    I have spent some time to find what caused this problem. I found that for some listings in database table nou_tba_geodir_gd_place_detail the field post_country has an empty value. These are the same listings which had a 404 not found problem.
    Some listing ids among are 897,903,906,913,919,922,926,929,936 and these listings are created between 2017/03/13 and 2017/03/14.

    2. Some of my listings have a “2” or “3” in the url EVEN THOUGH IT IS IMPOSSIBLE to have the duplicate names on my listings.
    <
    I have updated listing slugs in database table.
    I checked in database and found that some slugs already used by other post types. See screenshot attached in my next private reply. Thats why it appending -1/-2/-3 to the listing slugs.

    a. Why all these happened?
    <
    We have checked in our test sites, but we not faced same problem. Even no other customer reported a same problem that your site has. This is a site specific problem with your site.

    b. How can I fix? (re-saving permalinks does not work)
    <
    I have fixed both problems (1/3 & 2)

    c. How can I prevent this from happening again?
    <
    I am sure 1 & 3 will not happen again (if listings created/imported with valid data). For 2) to overcome problem of slug appending -2/-3, first check in field post_name in nou_tba_posts table, if slug used by other post then change existing post_name.
    In case you found listing slug with -2/-3, you can change form nou_tba_posts table.

    If you face any problem in future just let us know, we are always here to help you if problem is related to GD.

    Please check & let us know.

    Thanks,
    Kiran

    #375877

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #375910

    Vlad Chirila
    Expired Member
    Post count: 258

    Hi Kiran,

    Thank you for your answer and for your effort to help me!

    1. Some of my listings cannot be found. I re-saved the permalinks and still this problem persists.
    3. The country location disappeared from the missing listings. See the screenshot attached.

    <
    I checked on my listings, and it seems everything is ok now. I understand the field post_country had an empty value for some listings, but I still don’t understand why, because I do enter the location everytime. I will be very careful to double check the listings everytime I list a new place, both in back end & in front end to make sure everything is ok in the future. I will get back to you if any similar problems will appear again.
    <
    2. Some of my listings have a “2” or “3” in the url EVEN THOUGH IT IS IMPOSSIBLE to have the duplicate names on my listings.
    <
    It was true what I said, I did not enter listings with the same name, but I took a look in the file you attached. I understand now that some of my picture attachements have the same names as their listings so this might be an issue that caused the problem. I used the same name as post_names (listing/places names) -> I used the same names for pictures & for listings for SEO purposes. I did not know that this might cause problems.
    ALSO
    I see in your attached table that IDs 527 & 540’s Post_Type is “Location”. I recognize this as a post type from a previous plugin that I used, before using GD. “Locations” is the term used by that previous plugin for what GD names “Places”. Back then when I used that plugin I eneterd 5 of their Post Type “Locations” and now I have that same listings also listed as “GD Places”. Maybe this is also a reason for those numbers appearing in the url.

    This “Location” Post_Types should not exist anymore. Can you please tell me:
    2.1. where can I find this file that you put in the attachement? (nou_tba_posts table)
    2.2. Can I delete those IDs named “Location” without affecting Gd Places named the same?
    <

    Thank you Kiran!
    Vlad

    #375911

    Kiran
    Moderator
    Post count: 7069

    Hi Vlad,

    Thank you for letting us know 🙂

    This “Location” Post_Types should not exist anymore. Can you please tell me:
    2.1. where can I find this file that you put in the attachement? (nou_tba_posts table)
    <
    This screenshot is taken from phpMyAdmin database page. To access this table, login to phpMyAdmin > find table nou_tba_posts
    You can search particular rows within table nou_tba_posts by using Search.

    2.2. Can I delete those IDs named “Location” without affecting Gd Places named the same?
    <
    Yes, you can delete rows which has post_type = location if you no longer using that post type.
    It will not affect the GD data. Just go to phpMyAdmin > nou_tba_posts > Search post_type “location” > delete.

    Kiran

    #375913

    Vlad Chirila
    Expired Member
    Post count: 258

    Great!

    Thank you again Kiran!

    I appologise if I seemed a bit disrespectful. I am not a programmer, I am anything else but a technical guy, and all I built here was based only on practice and logic and it was not easy for me. It can get very frustrating to see things are not working and not know what or why is hapenning when things go wrong and you have no clue how to figure it out.

    Thanks again for your support!
    Vlad

Viewing 5 posts - 31 through 35 (of 35 total)

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

Open Support Ticket