How can we help?

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

Home Forums PokaTheme support Remove “/” from affiliate slug

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17348
    averagejoes
    Participant

    Hi, fanrtastic theme! So, we use WPML together with Poka and when you are in fx domain.com/fr the affilaite link looks like domain.com/fr//go/affiliate-link. When its on root domain i.e domain.com it looks like domain.com/go/affiliate-link and looks fine.

    Any fix fir this?

    #17351
    admin
    Keymaster

    Hello! Thank you!

    Indeed there is an issue with this.

    So, I understand that in the “root” domain it looks fine: “domain.com/go/affiliate-link”.

    How would you like it to look in the “/fr” domain? Should it look like this: “domain.com/fr/go/affiliate-link”? Or should it look like something different?

    I’m asking so that I can deliver you a code snippet to fix this until we come up with a standard solution for WPML in general, because we need to cover all cases.

    • This reply was modified 4 months ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.