• Resolved srmeher93

    (@srmeher93)


    When adding a new snippet, it redirecting to wordpress login page everytime, even after login. I am facing it from one day. I also have updated to recent version of Code Snippet plugin. Still it redirecting me to login page.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    This is strange! Would it be possible to get a screenshot of what the URL is after redirecting you to the login page? It seems like it might be getting confused about authentication.

    Thread Starter srmeher93

    (@srmeher93)

    It redirecting me to /wp-login.php

    Plugin Author Shea Bunge

    (@bungeshea)

    Is there anything else on the end of the URL? redirect_to, etc?

    Thread Starter srmeher93

    (@srmeher93)

    no, nothing else is showing. I have tried in different browser, also reboot my device(mobile). This is the link showing, https // mysite/wp-login.php

    here is the screenshot: https://drive.google.com/file/d/1xN5WoYUF7edj11Rlecg_h56TMSZ39gcu/view?usp=drivesdk

    • This reply was modified 1 year, 11 months ago by srmeher93.
    • This reply was modified 1 year, 11 months ago by srmeher93.
    • This reply was modified 1 year, 11 months ago by srmeher93.
    • This reply was modified 1 year, 11 months ago by srmeher93.
    Plugin Author Shea Bunge

    (@bungeshea)

    Hi @srmeher93,

    I suspect this may be due to some security software that is flagging the snippet code as a potential cross-site scripting attack, when it’s actually a false positive in this instance.

    We did try to introduce a workaround for this problem in v3.4.1 – are you still experiencing this problem after upgrading?

    Thread Starter srmeher93

    (@srmeher93)

    No, the problem has solved. It is due to a previous wrong code, containing a redirect feature. Due to error in that code, it was redirecting to the wp login page, from the WordPress dashboard on clicking anything in the dashboard. But I solved it. Thanks for your support.

    • This reply was modified 1 year, 8 months ago by srmeher93.
    Plugin Author Shea Bunge

    (@bungeshea)

    Glad to hear it’s working!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Code Snippets plugin always redirecting to WP login page when adding a new Code.’ is closed to new replies.