How can we help?

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

Home Forums Poka v2 support WPML + Affiliate Link URL

This topic contains 1 reply, has 2 voices, and was last updated by  admin 3 months ago.

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.

WordPress 5.0 is released with the new Gutenberg editor. Check out here about the compatibility with Poka theme!