Automatically Redirecting to a Protected Page After a User Logs In to Your Site

Hello everyone :wave:

I would like to do what is described in this article > Automatically Redirecting to a Protected Page After a User Logs In to Your Site

I have the ezPHP plugin installed, and I have added the PHP codes to my Membership Options page. The login link for existing members appears, however when clicked it generates a 404 page error.

Here is a screen capture video which shows what is going on.

Does anyone know how to fix this issue?

Thank you,

Ryan