What other plugins do you use on the site?
Thread Starter
LDC
(@wassimaburashed)
Plugins used
01- Redux Framework
02- Categories Images
03- Classic Editor
04- Contact Form 7
05- Elementor
06- Liquid Custom Builder
07- Liquid Import Export
08- Newsletter
09- Revolution Slider
10- WooCommerce
11- WP User Avatar
12- Extendify
Extra Plugins
01- Wordfence Security
02- Disable XML-RCP API
03- Solid security (itheme)
04- Headers Security Advanced & HSTS WP
05- HTTP Headers
06- WP Content Copy Protection & No Right Click
07- Yoast Free
08- Yoast test helper
09- WP code light installed
10- Buttonizer
11- Meta tag manager
12- Permalink manager lite
13- Simple 301 redirect
14- Site kit by google
Try switching to the default theme, deactivating all plugins excluding Contact Form 7, Classic Editor, Elementor and WooCommerce, and clearing all cache data.
Why you are advised to deactivate plugins and switch to the default theme.
I have the same issue as you; the 401 access when submitted
POST https://www.northstar-sz.com/wp-json/contact-form-7/v1/contact-forms/1932/feedback 401 (Unauthorized)
Thread Starter
LDC
(@wassimaburashed)
Dear @takayukister,
Good news! After deep search, I find that REST API is deactivated by me for security reasons. So when i activated the REST API the Contact form 7 works correctly.
Bad News! Is that I need to deactivate the REST API but without affecting the contact form 7. What is the solution
You don’t need to deactivate REST API.
Thread Starter
LDC
(@wassimaburashed)
Dear @takayukister,
Please check the screenshot URL: https://prnt.sc/HK58mYRU0Mkl
I use XML-RPC Plugin to disable or enable REST API JSON, so when REST API is enabled and activated then the Contact Form 7 works normally.
And, when REST API JSON is disabled and deactivated then Contact Form 7 is not working for website visitors.
What I need is to make Contact Form 7 works normally when REST API JSON is disabled and deactivated.
Note: The REST API JSON is now enabled and activated so Contact Form 7 works well on the home page http://www.northstar-sz.com
Thank you
-
This reply was modified 2 years, 2 months ago by
LDC.
-
This reply was modified 2 years, 2 months ago by
LDC.