location now missing from URL

This topic contains 7 replies, has 4 voices, and was last updated by  tkh2015 6 years, 11 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #412185

    tkh2015
    Expired Member
    Post count: 147

    Good morning.

    Went to add a new listing to the directory. Location is now missing from the URL. I have not changed anything. What happened? Please advise on fixing this?

    #412186

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Could you check out this section of the documentation and see if it helps? https://wpgeodirectory.com/docs/core-design/#navigation . If you need further assistance, please share WP temp admin access to your site so we can take a better look. You can post the details here using the private reply option below.

    Thanks!

    #412188

    tkh2015
    Expired Member
    Post count: 147
    This reply has been marked as private.
    #412225

    Alex Rollin
    Moderator
    Post count: 27815

    Hello @tkh2015,

    Sorry to hear you were having a problem. However, when I checked your site, for both events and business listings, both urls contained the city, which reflect the setting you have at GD > Permalinks.

    Please take a look at the settings and let us know if you run into listings that aren’t behaving according to those settings.

    It could be that you visited WP > Settings > Permalinks and re-saved your permalinks? That may have put things back into shape for you. In all likelihood some or other plugin triggered your permalinks to regenerate, or perhaps one or two were not processed correctly.

    If that happens again, the first thing to try is a visit to WP > Settings > Permalinks. Just save them again and it should be back in shape.

    In some cases the permalinks get bent out of shape because re-saving them on a site with lots of posts does require resources; if the process runs out of resources, the process can fail, and then there are broken links.

    If it happens again send us the URL so we can take a look.

    Thanks

    #412287

    Guust
    Moderator
    Post count: 29970

    If you want to include location in the URLs, and you allow listings in more than one country, then you have to set GD > Permalinks > Add location in urls > Add full location info with country, region and city slug in listing urls

    Add city slug in listing urls can only work if you allow listings in ONE region only.

    Thanks

    #412302

    tkh2015
    Expired Member
    Post count: 147

    Thanks guys for all your help. Earlier, it was adding the full location info to urls, but now it is only adding the city – which I actually like now, but not sure how many urls are broken??. I don’t know if I re-saved the permalinks and it happened then. (yes, there is more than one country).

    Anyways, thank you for your help.

    #412323

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Never fear! You can adjust the GD settings, and then, if you do find broken URLs, just resave your WP Peralinks again and they will all get fixed up.

    Do let us know if that doesn’t seem to be the case (in which case it may be a settings conflict, and we can help you figure it out).

    #412348

    tkh2015
    Expired Member
    Post count: 147

    You are so nice! Thank you!
    I keep finding issues, but will let you know. Thanks.

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