• Resolved dominmax

    (@dominmax)


    Hi,
    I use the Shield plugin and recently I have changed the login path name.
    After that links from confirming email (to administrator) stopped working.
    The authors of Shield plugin know the problem and they say:

    If you have plugins that use hard-coded redirects to your wp-login.php, these will fail to redirect you correctly. Please contact the author to explain that they should use the native “site_url()” function within WordPress.

    Can we do something to make Restaurant Reservation and Shield plugins work together?

    Thank you
    Dominik

Viewing 1 replies (of 1 total)
  • Hi Dominik,

    Restaurant Reservations doesn’t use any hard-coded redirect. The confirmation links in the emails use the WordPress native function admin_url() and point directly to the admin.php page, not the login page.

    The redirect is coming from WordPress itself and suggests that Shield may not be intercepting the redirection.

    You can see the URLs generated here, and that may help identify the issue:

    https://github.com/NateWr/restaurant-reservations/blob/master/includes/Notification.class.php#L88-L90

    Feel free to point the Shield people to this thread if they have any questions. Happy to work with them to make sure our plugins are compatible.

Viewing 1 replies (of 1 total)

The topic ‘404 after change login path’ is closed to new replies.