Auth0 Home Blog Docs

Wordpress Login with auth0 plugin


@josh.cunningham I have used the same database connection in Auth0 for all 3 sites.



I have few pages which should be accessible by logged in user only. When I want to access this pages without login then must be redirect to custom login page instead of application login url.

For example :

This will redirect me to


If you have Features > Universal Login Page turned on in the plugin, this redirect will happen automatically when you send users to wp-login.php. Here is a sample of a page template that redirects if a user is not logged in:

1 Like
closed #24

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.