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.
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
Hello,
Thanks for your reply.
Would you like to get access so you can see the problem by yourself ?
Thank you
Hello,
Unfortunately, this forum doesn’t allow to share private slugs and credentials…
Hello,
Is there any other way to contact you ?
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 ?
Hello,
I deactivated all the plugins except wps hide login but it didn’t work.
My Sites > Network Admin > Sites
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' );