• Hi,

    I’m trying to check if a user has visited a link from inside a post. The user clicks on a link
    that goes to my page /redirect/link-slug”, for example.

    In that page, I get the link_id and link_url based on the link_slug. The link_id lets me log that “that” user clicked “that” link. After that, the link_url lets me redirect the user to that URL.

    1) How can I create that “/redirect/link-slug” page? When I try to $_GET that link-slug as parameter, WordPress returns nothing.

    2) Could I use the “old” Link Manager table to manage those links? How can I modify the form to add a link_slug?

  • The topic ‘Create a custom redirect-links page with DBs links’ is closed to new replies.