Link Code Issue

Discussion in 'General Help' started by aikidesi, Jul 11, 2018 at 11:26 PM.

  1. aikidesi

    aikidesi New Member

    Hey Mark,
    Got a weird situation I need your help with...
    I've got a user with two different websites (Mike Moat & ACfnDC)... the link code works fine from the Mike Moat site (goes to the gateway page to vote); but on the ACfnDC page, it just goes directly to the list, without giving the opportunity to vote.
    Please take a look and let me know if you see what's going on. I'm sure it's something simple I'm missing.
    Here are the URLs...
    http://mikemoat.com/ -> Working fine
    https://www.acfndc.com/ -> Not working
    Thank you!
    Frank
  2. Basti
    • Staff

    Basti Administrator Staff Member

    This is because acfndc is a https site.
    visiolist.com/community/threads/https-votes-to-pass-google-friendly-links.2073/

    Since you enabled google friendly vote links, the user voted for is received via referrer url. But referrer does not work from https ( member ) -> http ( your toplist ).
    Hence VL cant get the username by the referrer url and no gateway happens.

    Solution for now, you have to provide 2 different link codes for you members by editing the link code templates and duplicating the code inside to provide additional voting code and replacing the vote link with http://listurl.com/index.php?a=in&u=username

    Or you can install a ssl certificate on your list and go https yourself, like said in that thread


    This stuff need to be handled automatical somehow, but now needs manual work
  3. Basti
    • Staff

    Basti Administrator Staff Member

    Added to 1.6: auto detection what link code to show.
    If you are http and member is https and you have friendly link codes set, it will still display the https members a unfriendly vote code.
    Mark likes this.
  4. aikidesi

    aikidesi New Member

    Mark likes this.
  5. Basti
    • Staff

    Basti Administrator Staff Member

    Im doing well, thanks :)

    Yes that is exactly what has to happen for https members linking a http site. Since the username is in the url, now the member data is received using the username and not the referring url.
    You loose some seo power this way, but unless you go https yourself, its the only way

    Once 1.6 hits, the link code display will be optimized to handle the https issue, so no need to edit your templates
    Last edited: Jul 12, 2018 at 9:29 PM
  6. aikidesi

    aikidesi New Member

    Ok, great; I'll ask him to give that a try. Thanks for your help and, once again, it's great to hear from you again! :)

Share This Page