Support » Networking WordPress » Unable to log out on the network

  • Resolved MrBlackDrag0nfly

    (@mrblackdrag0nfly)


    Hi,

    I have a network site, but for some reason I can’t log out.
    When I logout I go to the link

    http://<site>.com/wp-login.php?action=logout&_wpnonce=ecf93ddc7d

    This gives a 404 page.

    Does anyone have a solution?

    Regards,

    Ruben

Viewing 10 replies - 1 through 10 (of 10 total)
  • Can’t log out of ….? The main site? A sub-site? A mapped domain?

    I can’t log out on any of my sites.
    all my sites are in subfolders, but they all go to the same link and all give the 404 error

    Delete all the cookies for your domain and try again.

    If it still happens, turn off all plugins and test.

    Tried both, does not work. Well kind of. I did go to the page not found page. But the admin bar wasn’t there anymore too. When I tried to go to wp-admin I got redirected to the 404 page again but his time with this url: http://<site>/wp-login.php?redirect_to=http%3A%2F%2F<SITE>%2Fwp-admin%2F&reauth=1

    I hope you can help me

    What plugins are you using? Anything to mess with logins?

    Nothing I know that edits the login in any way.

    Also without plugins it still doesn’t work! AND, i’ve found that commenting gives the same result. Another url of course, but the same page

    What’s in your .htaccess?

    Here it is:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %\{REQUEST_FILENAME\} -f [OR]
    RewriteCond %\{REQUEST_FILENAME\} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\\.php)$ $2 [L]
    RewriteRule . index.php [L]

    If those double back-slashes are for real, I think we have an idea. Try this:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    thanks you so much! That worked!
    I don’t know why that dubble back-slash was there, pretty weird.
    Anyway: Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Unable to log out on the network’ is closed to new replies.