• Resolved imrgz

    (@imrgz)


    Hi Kevin,

    Thank you for the great plugin and your FAQ support.
    I have added the bypass to exclude:
    home_url( ‘/register/’ ),
    home_url( ‘/activate/’ ),

    However, I would like to exclude the activation urls as well, so users can finish their registration. I’m not really familiar with PHP, but I expected this to be possible by adding a wildcard, however this does not seem to work.

    Is there a possibility to exclude these activation link sites with variable url endings?

    Thank you for your kind help.
    Ivo

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kevin Vess

    (@kevinvess)

    Hi, thanks for using Force Login!

    If these are WordPress pages, you should be able to use the is_page() conditional tag to determine whether or not to bypass Force Login.

    Otherwise, the FAQ does have a few examples for how to bypass dynamic page URLs.

    Thanks!

    Thread Starter imrgz

    (@imrgz)

    Ah I indeed got it to work.
    I did not think of these as parameters due to there not being ‘?’.
    I now indeed bypassed everything containing ‘activate’.

    Thank you for the great work!

    • This reply was modified 3 years, 10 months ago by imrgz.
    • This reply was modified 3 years, 10 months ago by imrgz.
    • This reply was modified 3 years, 10 months ago by imrgz.
    Plugin Author Kevin Vess

    (@kevinvess)

    Great, I’m glad you got it working!

    Be sure to rate and review my plugin to let others know how you like it.

    Thanks for using Force Login!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘exclude activation url’ is closed to new replies.