#listing-link# 404 error

This topic contains 14 replies, has 3 voices, and was last updated by  Guust 6 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #408957

    Stephen Conklin, Jr.
    Full Member
    Post count: 22

    Hello – when someone posts a listing, the client and the admin both get the email that says a listing was published with the link to the listing. The problem I’m having is that the link is incorrect.

    I double-checked permalinks were set properly to post name, then tried again, same issue.

    Error link format:

    http://vacationrentalhomes.info/places/cabin/the-cabin-on-amelia/

    The correct link format should be:

    http://vacationrentalhomes.info/places/united-states/lino-lakes/cabin/the-cabin-on-amelia/

    Somehow the Country and City aren’t being added to the link structure as they need to be.

    I’ve searched the forum archives and wasn’t able to find an active thread regarding this issue, my apologies if it’s already been asked and answered.

    #408975

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    You can create a private reply with site login url and WP admin credentials and we can take a look at your settings.

    You cannot use “Add country and city slug in listing urls (/country/city/)” at GD Permalinks if you have more than one region on your site.

    #408982

    Stephen Conklin, Jr.
    Full Member
    Post count: 22
    This reply has been marked as private.
    #408983

    Stephen Conklin, Jr.
    Full Member
    Post count: 22
    This reply has been marked as private.
    #408994

    Guust
    Moderator
    Post count: 29970

    If you allow listings in more than one region, you cannot use the Add country and city slug in listing urls (/country/city/) option.
    That option is only if you allow only listings in one region; if you can have different regions, they need to be in the URL if you want to add the location to the URL.

    Thanks

    #409036

    Stephen Conklin, Jr.
    Full Member
    Post count: 22

    I have no idea what I’m doing wrong. I’ve tried every option in permalinks, and the email notification to both admin and client still get the #listing-link# incorrect, every time. There’s always part of the URL missing.

    I also made the region United States only and tried all options in permalinks that way and the email is still incorrect.

    The links work site wide otherwise, the preview also comes in okay.

    #409045

    Guust
    Moderator
    Post count: 29970

    United States is not a region but a country, so you still can’t use /country/city/ but now will be able to use /region/city/ or /country/region/

    Thanks

    #409046

    Stephen Conklin, Jr.
    Full Member
    Post count: 22

    I completely understand what you’re saying I believe, and don’t mean to be difficult but I’m still stuck.

    The issue is only with the emails that get sent to admin and client. The #listing-link# within those email notifications is still incorrect.

    I have selected:

    Add location slug in listing urls
    Add region and city slug in listing urls Add region and city slug in listing urls (/region/city/)
    Add requested category slugs in listing urls

    #409052

    Guust
    Moderator
    Post count: 29970

    The default location you set was

    , ,

    All locations need to be in the format city > region > country
    See also https://wpgeodirectory.com/docs/definitions/#location

    I fixed it for you, please check now.

    Thanks

    #409128

    Stephen Conklin, Jr.
    Full Member
    Post count: 22

    Okay, I really, really appreciate your continued help and patience with this.

    Now, the URL in the admin and client post submitted successfully notification email is taking me to the correct listing, however, the city and state is incorrect.

    I posted this property in Yachats, Oregon:

    http://vacationrentalhomes.info/places/oregon/yachats/vacation-rental-by-owner/sweet-homes-rentals/

    If you look at the map, it’s in the right place and the link works correctly as above. However, the notification email has the following link, showing “Anchorage, Alaska” instead of Yachats, Oregon.

    http://vacationrentalhomes.info/places/alaska/anchorage/vacation-rental-by-owner/sweet-homes-rentals/

    That link also takes you to the listing info… I’m so confused as to what is causing the URL glitches… But at least the client / admin does not produce a 404 error anymore.

    Any more ideas?

    #409137

    Guust
    Moderator
    Post count: 29970

    I cannot replicate that error, see image.
    Can you run a few tests again, and if it happens again, please detail exactly the steps you took.
    Thanks

    #409140

    Stephen Conklin, Jr.
    Full Member
    Post count: 22

    Thank you Guust.

    Logged in as admin, I go to Add Listing. I select Free, select that I am not the owner/associate of the listing, then I import a FaceBook link into the social importer. I choose the category (required) then I also accept the terms and conditions.

    Listing preview works fine, when I submit it, it goes into the map in the correct spot & location & URL are all good.

    But for some reason the email notifications I receive still have Anchorage, Alaska.

    Prior to this, I was getting different URL errors as noted in first post, however, whatever you / Guust did for me in reply #409052 helped as I wasn’t getting 404 errors since then – just incorrect city / state only in email notifications.

    When I go into GD > Multilocations, I see Anchorage, Alaska is on the map pin. Could this be part of the issue?

    #409143

    Guust
    Moderator
    Post count: 29970

    Anchorage is the default location now after I deleted the incorrect default location.
    What do the address fields say after you import the facebook URL?
    You need to make sure that the region and city field are updated.
    Can you post the Facebook page URL if we need to test.

    Thanks

    #409145

    Stephen Conklin, Jr.
    Full Member
    Post count: 22

    Okay, when I do the FaceBook import it is grabbing the correct city and state.

    Here’s the link I tried:

    https://www.facebook.com/IowaCabinRentals/

    It’s still putting Anchorage, Alaska in the URL for the admin and client post submitted email notifications.

    #409148

    Guust
    Moderator
    Post count: 29970

    I cannot replicate that, I just added exactly as you have done it and I get everything right.
    Try using a different browser with a different user, it is most likely some cached issue for you only.

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