• ejm

    (@llizard)


    I have the latest version of the redirection plugin installed and have gotten the following message when trying to create a redirect.

    Unable to perform action – bad nonce

    I am also running iThemes Security and am wondering if that is causing a conflict. About a week ago, I asked in the iThemes Security forum there but got no response.

    When I look at my 404 log, I see that some visitors are mistakenly tacking “recipes” onto the end of my wp folder. I have tried (and failed) to add a redirect via cpanel in the htaccess file.

    I tried directly adding the following above all the ithemes security coding in the htaccess file for the wp folder. Alas, this didn’t work.

    # trying to redirect /blog/recipes to /recipes
    RewriteCond %{HTTP_HOST} !^$
    RewriteCond %{HTTP_HOST} !^\blog\recipes\$ [NC]
    RewriteRule ^/(.*)$ http://mydomain.com/recipes/$1 [L,R=301]

    htaccess coding makes me cringe. For anyone who actually understands htaccess coding, how do I create a wildcard redirect from /blog/recipes/ to /recipes/.

    Alternatively, how do I achieve this in the redirection plugin?

    Thank you.

    E Morris, etherwork [dot] net [slash] blog <<purposely unlinked in attempt to keep spammers at bay (there’s a really good reason that I have iThemes Security plugin who helped enormously to rid me of bruteforce attacks)

    I see that, as of today, there is yet another wp update required :-/

    https://wordpress.org/plugins/redirection/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same issue

    Did you find a solution ?

    //Lars

    My solution was to use redirection, inputting redirect as normal and changing ‘Match’ value from “URL Only” to “URL and Referrer”.

    This applied on a logged-in redirect specific to the user. register/ -> my-account/

    Hope that helps someone in the future!

    If you are using “redirection” plugin. Go the the top where the tabs are and select, 404’s You should be able to hover over the date on the left and it will ask if you want to redirect, you can place your info in there and get it done. I have no idea why the bad nonce is showing up, it did it to me this morning on one site and not the other. I just entered a redirect, in the redirect tab, this time not using the full https:// etc url in the “source field”, shortened is like we do on “target url” and it worked. Go figure…:)

    • This reply was modified 7 years, 1 month ago by Bisonbuff.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘unable to create redirects – "bad nonce" message’ is closed to new replies.