• Resolved shucks

    (@shucks)


    Hi guys
    I am using a plugin called restaurant reservations which has a class file specifying the links in the emails I receive contain a link to “admin_url” – I have Cerber installed and have changed the path of wp-admin, but this link when translated in an email is still trying to access wp-admin. Is there a new field created by Cerber like replace_admin_URL or can I overwrite this code in the other plugin somehow to instead call the correct new admin path?

    Not sure how to stop this converting to code

    >> ‘{bookings_link}’ => ‘‘ . __( ‘View pending bookings’, ‘restaurant-reservations’ ) . ‘‘, >>

    • This topic was modified 5 years, 11 months ago by shucks.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author gioni

    (@gioni)

    Hi!

    Note: the plugin does not change the standard wp-admin URL. It can hide it. You might have disabled wp-admin redirection in the main settings of the plugin.

    Thread Starter shucks

    (@shucks)

    Thanks Gioni, but what does that mean? I want the new hidden admin to be something like http://www.mysite.com/myhiddenname – but if I turn off “Disable automatic redirecting to the login page when /wp-admin/ is requested by an unauthorized request” then when a visitor goes to snoop at http://www.mysite.com/wp-admin it immediately redirects them to http://www.mysite.com/myhiddenname which seems to defeat the purpose of hiding the WP admin area. But I still don’t understand why a plug in looking for the normal wordpress admin_url breaks if it hasn’t been changed by Cerber.

    Plugin Author gioni

    (@gioni)

    The plugin works correctly with standard admin URL only. That means you can’t use it with an altered admin URL. This is by design and will not be changed. Because changing standard admin URL doesn’t make any sense. It’s just overkill.

    Thread Starter shucks

    (@shucks)

    That makes sense, but what I mean is why the other plugin would be trying to call the standard admin_url and failing once I install Cerber? Is there some other database field I should use instead of admin_url once Cerber is switched on and diverting to the new admin URL? So I switch on /myhiddenname and all works fine, and I want to leave the user with a 404 page if they navigate directly to /wp-admin….but if linking from inside this email that links to open a long URL string that includes admin_url, is there a way of inserting code that understands I am trying to navigate tp http://www.mydomain.com/myhiddenname/booking.php?

    Plugin Author gioni

    (@gioni)

    Note: if you alter the standard wp-admin URL, you makes it incompatible with the Cerber plugin algorithms. Cerber expects using the standard wp-admin URL for the WP dashboard. I can’t comment on other plugins or give you a recipe to solve the issue. I recommend not altering any admin URL at all.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cerber changes embedded link in other plugin’ is closed to new replies.