GD Location Switcher – getting 404 error

This topic contains 3 replies, has 3 voices, and was last updated by  Stiofan O’Connor 7 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #392309

    Timothy Sullivan
    Full Member
    Post count: 63

    HI,

    I build a page using the GD Location Switcher shortcode.

    Please see this page:
    https://www.urbansake.com/sake-guide-all-locations

    My issue is that when I click on a the link of any location, the trailing backslash after /location/ is missing.

    for example, if I browse to US->Colorado->Denver,

    the URL that is build is this
    https://www.urbansake.com/locationUS/colorado/denver/
    (gives me a 404 error)

    instead it should be this:
    https://www.urbansake.com/location/us/colorado/denver/

    Any setting I may have incorrect that is causing this? can’t figure out why the URL is malformed.

    Thank you!

    #392310

    Guust
    Moderator
    Post count: 29970

    Check this out: https://wpgeodirectory.com/docs/basic-installation/#postnames

    Let us know if that is the problem. Thanks

    #392412

    Timothy Sullivan
    Full Member
    Post count: 63

    Hi Guust,

    Ah, I ran a test on my staging site and, yes, that is the issue. Changing permalink to post name fixes the issue.

    However, I have about 10 years of blog posts that for better or worse, use a custom permalink structure. If I change to POST NAME permalink structure all of my blog posts will get a new URL and all the incoming links will not work.

    I’ll have to look into some kind of redirection for lots of blog posts OR see if I can edit the location switcher shortcode for my situation.

    thank you

    #392468

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Timothy,

    If you provide wp-admin and FTP details i will take a look.

    Thanks,

    Stiofan

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