How can we help?

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

Home › Forums › PokaTheme support › A problem with affiliate links

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19221
    Oleg092
    Participant

    There’s an issue in Pokatheme when saving links in posts like https://brokerbinary.top/go/quotex; after saving, it changes them to /?p=16008. Why does this happen, and how can I fix it? Absolutely any links from the “Affiliate Links” block are being changed to strange versions in the article.

    #19240
    admin
    Keymaster

    Good news — there’s a quick fix you can apply yourself, no code changes
    needed.

    Go to Settings → Permalinks in your WordPress admin and click “Save
    Changes”. You don’t need to change anything on that page — just click the
    button. This tells WordPress to rebuild its URL rules, which is what got out
    of sync.

    Then open one of the affected posts and check the affiliate links. They
    should show the correct /go/quotex format again. You may need to re-save the
    post for existing links to pick up the new format.

    One thing to be aware of: this can come back after a future theme update,
    since the rebuild doesn’t happen automatically. If it does, the same
    Settings → Permalinks → Save Changes will fix it again. When you’re ready, I
    can add a small change to the theme so it handles this on its own — but the
    manual fix works fine in the meantime.

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