How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support WPML + Affiliate Link URL

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2453
    frostij
    Participant

    Hi,

    I’m using the Poka theme together with WPML.

    I have my language versions set up as directories, ie https://mysite.com/en/

    Now when I am trying to create affiliate links, the links will be generated as https://mysite.com/en//go/casino/ and there is no way I can modify them.

    Any advice where should look to in order to remove the extra / ?

    Thanks in advance 🙂

    #2459
    admin
    Keymaster

    Hi!

    WPML is adding the language as a directory in pages/posts and in CPT you have selected to be translatable.
    I suggest to remove the “Affiliate links” from the translatable CPT of WPML.
    After that all your affiliate URLs should be yoursite.com/go/casino without the language in the URL.
    Also if you need to create different affiliate links for each language for each casino you can create separate posts.
    For example for Casino1 you can create a post “Casino1 link – EN” and “Casino1 link – DE” etc.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.