Support » Plugin: WPS Hide Login » Multisite network link to site dashboard doesn’t work

  • Resolved Sociality

    (@sociality)


    Hello,

    We are running the latest version of WPS Hide Login.
    The plugin was working fine until the last update on our WordPress Multisite.

    When i am trying to go the dashboard from Sites > All Sites > Dashboard Button i am getting a 404 page because the links are getting me to the site.com/wp-admin instead of the login page i added to the settings.

    Is this the normal behaviour ?

    Please help me !

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support MaximeWPS

    (@seinomedia)

    Hello,

    Thanks for using WPS Hide Login.

    The way WPS Hide Login redirects to 404 when you try to reach wp-admin without login is a normal behaviour. Neverthless, pointing wp-admin instead of your login slug isn’t one but this is not due to WPS Hide Login.

    Thread Starter Sociality

    (@sociality)

    Hello,

    Thanks for your reply.
    So as i understand, if am clicking the dashboard link for one of my sites from the “My Sites” page it should take me to the changed url wp-admin url

    Plugin Support MaximeWPS

    (@seinomedia)

    Hello,

    Yes, exactly 🙂

    Thread Starter Sociality

    (@sociality)

    Hello,

    Thanks for your reply.
    Would you like to get access so you can see the problem by yourself ?

    Thank you

    Plugin Support MaximeWPS

    (@seinomedia)

    Hello,

    Unfortunately, this forum doesn’t allow to share private slugs and credentials…

    Thread Starter Sociality

    (@sociality)

    Hello,

    Is there any other way to contact you ?

    Plugin Support MaximeWPS

    (@seinomedia)

    Hello,

    This is the only way to contact us.

    When I said “pointing wp-admin instead of your login slug isn’t one but this is not due to WPS Hide Login” meant another plugin made a conflict. Have you tried to deactivate every plugin except WPS Hide Login ?

    Thread Starter Sociality

    (@sociality)

    Hello,

    I deactivated all the plugins except wps hide login but it didn’t work.

    My Sites > Network Admin > Sites

    Plugin Support MaximeWPS

    (@seinomedia)

    Hello,

    I think about one thing. Are your wp-login.php and wp-admin slugs cached ?

    These pages shouldn’t be and it would explain why you’re still redirected to wp-admin.

    Have you purged your caches after you deactivated every plugins ?

    Same multisite problem here.

    I have 7 site with different domains, and because other sites in the network don’t share the main sites logged-in status (cookie), dashboard links to /wp-admin from the My Sites -submenu fails and redirects to 404.

    Ok, I just hacked this with a simple js text replace for now.

    function custom_add_js_to_admin() { ?>
        
        <style>
        #wp-admin-bar-my-sites-list .ab-sub-wrapper,
        #wp-admin-bar-my-sites-list .blavatar,
        #wp-admin-bar-my-sites-list .wp-admin-bar-arrow {
            display: none !important;
        }
        </style>
        <script>
        jQuery(document).ready(function($) {
            $('#wp-admin-bar-my-sites-list a.ab-item').each(function(){
                $(this).attr("href", $(this).attr('href').replace('wp-admin', '<?php echo get_site_option( 'whl_page', 'login' ); ?>'));
            });
        });
        </script>
    
    <?php
    }
    add_action( 'admin_footer', 'custom_add_js_to_admin' );
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Multisite network link to site dashboard doesn’t work’ is closed to new replies.