• Resolved Pluh

    (@pluh)


    With some of the latest updates (probably v3, don’t know for sure), the plugin changed the default link slug to /recommends/. I was using /go/ before and all my published links use /go/.

    After I go to the plugin’s settings and change it back to /go/, after hitting Save Changes it goes back to /recommends/. By default, all newly created links and all previous links use /recommends/. All my /go/ links are updated to /recommends/.

    At the moment, the situation is:
    – All my published links use /go/
    – The settings and all links in the database are updated to /recommends/
    – /go/ gets 301 redirected to /recommends/, thus creating unnecessary additional redirects.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @pluh,

    Thanks for the message.

    /recommends/ is the default link prefix, your settings should have been migrated across though.

    Please try deactivate then reactivate the plugin.

    If that doesn’t work, you can just change the link prefix setting under ThirstyAffiliates->Settings, Link Appearance tab.

    Once that is done, they should go back how they were with the /go/ prefix.

    Let me know how you go.

    Cheers,
    Josh (founder)

    Thread Starter Pluh

    (@pluh)

    I did try deactivating and reactivating the plugin, but the issue still persists.

    I also did change the slug in the settings (Link Appearance) tab, but after hitting “save changes” it goes back to /recommends/

    Tried saving the permalinks, tried clearing cache etc.

    I think it may be an issue with the new version of the plugin.

    I’m using Nginx if that makes any difference.

    I did “fix” the issue by adding a custom “go” prefix, but I’m open to suggestions if you have a better way of actually fixing this

    Worth noting: I can change to whatever other prefix and it works fine, but when changing it to /go/ (the one I was always using) – it doesn’t work.

    • This reply was modified 8 years, 7 months ago by Pluh.

    Hi @pluh,

    That’s definitely weird!

    Is it possible to regenerate your permalinks? Does that help?

    If not, please write in to support and I’ll organise to get a login from you. I think I’m going to need to see this in action.

    Just reference this forum thread in your support ticket and that you were talking to me and it will be forwarded to me.

    Thanks,
    Josh

    Thread Starter Pluh

    (@pluh)

    Like I mentioned above, I already tried regenerating the permalinks.

    Anyway, the problem is with my Redis cache. I disabled it and the settings work fine.

    Ah my mistake, I missed your line “Tried saving the permalinks, tried clearing cache etc.” when I first read your reply!

    Redis … my old nemesis. Yes, that definitely could have caused it.

    Glad to hear you’re up and running!

    Cheers,
    Josh

    Thread Starter Pluh

    (@pluh)

    Based on this
    https://wordpress.org/support/topic/theme-options-wont-save-2/
    I can probably solve this issue.
    What’s ThirstyAffiliate’s cache group?

    Hi @pluh,

    We’re not actually adding that setting to any particular cache group. Is there a general one that can be cleared?

    It really would only need to be done once, unless you changed the Link Prefix setting again.

    Hope this makes sense.

    Thread Starter Pluh

    (@pluh)

    I used the ‘options’ cache group and seems to be working fine now. I guess the plugins and all those “options” fit into that group

    Hi @pluh,

    That’s great news! I think that group should cover all options stored in wp_options table in that case.

    Thanks for letting us know, I’ll make a note of this in our KB.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Link slugs changes back to /recommends/’ is closed to new replies.