• Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!

Backend search function - _wpnonce and wp_http_referer

N

netzlounge

New Member
Hello,

since some weeks when I try to search a page, post or product (woocommerce) I get a blank page with 430 forbidden error.
After some test installations on another provider I could determine, that in a search URL theres also "_wpnonce and _wp_http_referer" that cause the URL to be faulty.
For example:

https://www......de/wordpress/wp-admin/edit.php?s=hedi&post_status=all&post_type=page&_wpnonce=72f5873af3&_wp_http_referer=%2Fwordpress%2Fwp-admin%2Fedit.php%3Fpost_type%3Dpage&action=-1&m=0&paged=1&action2=-1

correct is:

https://www.....de/wp-admin/edit.php?s=hedi&post_status=all&post_type=page&action=-1&m=0&paged=1&action2=-1

Plugins deactivated, WP fresh installed again, Google search with some solutions to change the wp-admin/edit.php
None of the suggestions did work out.

Somebody got an idea?

Thx
Alex
 
N

netzlounge

New Member
Just found a - temporarily - solution: inserted in a .js file of the wp-admin:

setTimeout(function() { jQuery( "input[name*='_wp_http_referer']" ).remove(); }, 500);

Now the search function works again - but just until the next WP update
 

Latest Resources

Other Elementor Resources

elementor official

Still stuck? Ask the forum

Post your question with a screenshot and a link if you can, and a member will usually reply within a day. Free to join, no sales pitch.

Create a free account
Top