Plugin Banner

This is the place to ask questions, report issues, or request new features related to our plugins. Whether you’re troubleshooting something small or have an idea to make things better, we’re here to help. Please search the forum before posting to see if your topic has already been covered.

You need to log in to create posts and topics.

Issue with admin access while using Simple Maintenance Redirect plugin

Hello PluginRX Support Team,

I am currently using your Simple Maintenance Redirect plugin (https://pluginrx.com/support/plugin/simple-maintenance-redirect/) and have encountered an issue when the redirect feature is enabled.

When I activate the redirect to an external URL, non-logged-in users are correctly redirected as expected. However, as an administrator, I am also being redirected in Google Chrome and cannot view the frontend of the site while logged in.

Interestingly, this behavior does not occur in Microsoft Edge. In Edge, the redirect works correctly: guests are redirected, while logged-in administrators can still access and view the frontend normally.

This suggests that the admin bypass logic is not consistently applied across browsers, or that Chrome may be handling cookies/session data differently in a way that affects the plugin behavior.

Could you please advise if this is a known issue or if there is a recommended fix or configuration to ensure that logged-in administrators are excluded from the redirect in all browsers?

Thank you in advance for your help.

Best regards
Christian

Hi Christian,

Thanks for writing in! And I'm sorry this is happening to you. I haven't seen that happen yet, and nobody has reported it, but it's a fairly new plugin that isn't widely used yet, so the probability of someone reaching out if they do encounter it is minimal. I use Chrome as my default browser, too. Perhaps there was an update that affected it, or some kind of conflict; I'll look into it. I have another free plugin called Clear Cache Everywhere that also clears browser sessions and cookies that sits in your admin bar, which may help. I'll let you know what I find out.

Ari

Christian has reacted to this post.
Christian

Hi Christian,

Following up on this (sorry for the delay). I did some digging and the redirect logic itself checks your login status server-side, so it can't actually distinguish between browsers - if Chrome and Edge are behaving differently for you, it most likely comes down to how each browser is handling your session/cookies rather than something in the plugin.

A couple of things that would help me pin it down:

1. When you test in Chrome, are you logged into wp-admin in the same browser window/profile you're viewing the frontend in? (Not a different profile or an incognito window.)
2. Is the site fully on HTTPS, including wp-admin?
3. Do you have any caching plugin or CDN active on the site (Cloudflare, WP Rocket, etc.)?

If you have a moment, checking Chrome DevTools > Application > Cookies for your site and confirming a cookie starting with "wordpress_logged_in_" is present would also help narrow it down.

Thanks for your patience,
Ari

 

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.