Support

Home Forums Community Forum You do not have access to this route. (5)

You do not have access to this route. (5)

Posted: March 2, 2016 at 11:26 am

Viewing 3 reply threads


Lorenzo Orlando Caum

  • Support Staff

March 2, 2016 at 12:21 pm

Hello, you can’t browse to any of those links directly without being logged into your WordPress site.

Try logging into your site through the WP login page and then any of those links should work.


Lorenzo


joeya1k

March 3, 2016 at 3:23 am

Hi Event Espresso sorry to be blunt but no sh*t sherlock. The issue is that the link should prompt a login instead of cutting the user of at the knees with a total deadend – “sorry you don’t have access to this route. “ So what we need is to know how to get those links sent in the confirmation emails to prompt a login if a user is not logged in. Thanks.


joeya1k

March 3, 2016 at 6:33 am

if someone needs this is what you need to do
wp_die( __(‘You do not have access to this route.’, ‘event_espresso’ ) );
wp_login_url( $_SERVER[‘REQUEST_URI’] );

Viewing 3 reply threads

The support post ‘You do not have access to this route. (5)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso