link to wrong URL only in Safari

This topic contains 13 replies, has 2 voices, and was last updated by  Paolo 8 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #215838

    BJ Bowen
    Full Member
    Post count: 73

    On the Listings Detail page in the right sidebar, the section for “User Links” (favorite, etc.).

    Everything in that box links to the wrong URL in Safari. (Not having issues with Chrome)

    Visit this link:
    http://dev1.foundation96.com/places/united-states/north-carolina/williamston/acupuncturists/unclaimed-place/

    Then click on “Business Owner?” link.

    I’m at a total loss… I have cleared my cache/history, everything in Safari.

    I have uninstalled and reinstalled the Claim Listing Plugin.

    No matter what I do the pop-up window will not display in Safari and it sends me to this url: http%3A//www.dev1.foundation96.com/login/&r=http%3A//dev1.foundation96.com/places/united-states/north-carolina/williamston/acupuncturists/unclaimed-place/&bc=

    Thank you in advance for helping me understand what is happening here.

    #215930

    BJ Bowen
    Full Member
    Post count: 73

    Okay… so, I’m wrong about the Safari statement. This is true for all browsers:

    the pop up only works if you’re logged in.
    It consistently works if you’re logged in.

    It consistently doesn’t work if you’re logged out.

    Thank you for your help!!

    #215966

    Paolo
    Site Admin
    Post count: 31211

    hi, both links require the user to be logged in and they are trying to redirect to the login page that is returning an error: http://www.dev1.foundation96.com/login/

    If you provide admin credentials we will have a look.

    Thanks

    #216230

    BJ Bowen
    Full Member
    Post count: 73
    This reply has been marked as private.
    #216231

    BJ Bowen
    Full Member
    Post count: 73

    Also… the link is adding “www” to the url automatically. I can’t find where this is dynamically created.

    example: index.php?origURL=http%3A//www.dev1.foun

    #216809

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    if you are using an alternative login/register form, you shouldn’t add the same page as GD login page in GD >> permalinks.

    By doing that, you are telling to GeoDirectory to use that page to add it’s login/register form.

    I set the original GD-login page for that and now it seems to be working.

    Let us know if that is what you wanted,

    Thanks

    #217058

    BJ Bowen
    Full Member
    Post count: 73

    okay… thanks for looking at this…. however, still the same weird problem. it’s re-writing the url to the OLD url from the old site.

    it should go to http://devfoundation96.com/login/

    instead, it’s going to http://dev1.foundation96.com/login.

    so, the real problem is that the code is dynamically creating the site login page as the OLD site…. I’ve uninstalled and reinstalled the plugin, but it still thinks the site login url is the OLD site. hmmmm

    #217059

    Paolo
    Site Admin
    Post count: 31211

    That’s probably because you still have the old URL in the database. You should use a tool like this to correct all URLs in your database after moving the website.

    https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Thanks

    #217162

    BJ Bowen
    Full Member
    Post count: 73

    i already did that.

    #217174

    BJ Bowen
    Full Member
    Post count: 73

    sorry i forgot to mention that earlier.

    these are the things I have done:
    1. replaced the urls in the database
    2. uninstalled GD Claim Addon/ reinstalled
    3. Cleared my cache/history/whatever in all of my browsers
    4. Changed the permalinks login to several things and then changed it back to see if that would help reset it

    nothing i do will stop it from pulling the OLD information.

    #217175

    BJ Bowen
    Full Member
    Post count: 73

    by OLD information, I mean the OLD site login url 🙂

    #217176

    Paolo
    Site Admin
    Post count: 31211

    hi,

    you have the old url hard coded in functions.php in the snippet to redirect the login page.

    Thanks

    #217218

    BJ Bowen
    Full Member
    Post count: 73

    oh goooooood lord!!! I’m so sorry. crap. You’re the best. Thanks

    #217220

    Paolo
    Site Admin
    Post count: 31211

    Glad I was able to assist 🙂

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