Title: Admin toolbar link
Last modified: September 21, 2018

---

# Admin toolbar link

 *  Resolved [AgentSplurge](https://wordpress.org/support/users/agentsplurge/)
 * (@agentsplurge)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/admin-toolbar-link/)
 * Hi,
 * I am using your plugin in conjunction with several others to create quite a complex
   setup, but I will try to explain simplified!
 * Basically when a user registered on our multisite a ‘template’ site is cloned
   for them, with lot of things hidden from all users except me (superadmin).
 * The only problem is when I am logged in to the template site and save the admin
   toolbar, the WP nonce value at that time is saved into the URL, so the user of
   the cloned site is unable to log out.
 * The most simple solution would be to modify the link to link to <?php echo wp_logout_url(
   home_url() ); ?>, but this ofcourse doesn’t work.
 * The only thing I can think would be to create a custom page that refreshed to
   the wp_logout_url, and adding a link to that in the admin toolbar. Can you think
   of any better suggestions to try?
 * Thanks,
 * Lloyd

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/admin-toolbar-link/#post-10712377)
 * Hi Lloyd,
 * The plugin has not been tested to use with multisite. So to confirm the issue
   though, the issue is that when you save the toolbar it is saving the domain name
   in the logout url which means when the toolbar is on these other sites it still
   has the logout url for the other site?
 * Or is the issue just that the nonce is in the URL? Because if this the issue 
   why can’t you just remove the nonce from the URL?
 * If the issue is the first thing I mentioned, then this same kind of issue would
   also apply to the “Visit Site” link in the admin toolbar as this to is site specific
   as well? It is possible to solve this with customisation but it requires quite
   a bit of work.
 * Thanks,
 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/admin-toolbar-link/#post-10787575)
 * Due to inactivity I am going to mark this as solved.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Admin toolbar link’ is closed to new replies.

 * ![](https://ps.w.org/wp-custom-admin-interface/assets/icon.svg?rev=1656274)
 * [WP Custom Admin Interface](https://wordpress.org/plugins/wp-custom-admin-interface/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-custom-admin-interface/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-custom-admin-interface/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-custom-admin-interface/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-custom-admin-interface/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-custom-admin-interface/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/admin-toolbar-link/#post-10787575)
 * Status: resolved