Alex Ford
Forum Replies Created
-
Forum: Plugins
In reply to: [Force Login] Redirect Page Not Working For Other Users (Multisite)This is a blank post as I forgot to set the “Notify me of follow-up replies via email” option.
Look forward to hearing from you!
Perfect! I’ll send them this tread now.
Thanks again Jeremy.
Thank you Jeremy!
I contacted WPMU DEV and they said they’re going to look into it, as the Jetpack plugin should work no matter what the Mapped Domain is set to.
I’ll let you know once it’s resolved.
Hey Jeremy,
When I refresh the Jetpack Dashboard I get the following error in the console:
2settings:1 GET https://www.ethansplagiojourney.com/wp-json/jetpack/v4/settings 403 (Forbidden)
/wp-admin/admin.php?page=jetpack#/appearance:1 Fetch API cannot load https://www.ethansplagiojourney.com/wp-json/jetpack/v4/settings. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://ethansplagiojourney.elevatesites.com’ is therefore not allowed access. The response had HTTP status code 403. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
2site:1 GET https://www.ethansplagiojourney.com/wp-json/jetpack/v4/site 403 (Forbidden)
/wp-admin/admin.php?page=jetpack#/appearance:1 Fetch API cannot load https://www.ethansplagiojourney.com/wp-json/jetpack/v4/site. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://ethansplagiojourney.elevatesites.com’ is therefore not allowed access. The response had HTTP status code 403. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
2settings:1 GET https://www.ethansplagiojourney.com/wp-json/jetpack/v4/settings 403 (Forbidden)
/wp-admin/admin.php?page=jetpack#/appearance:1 Fetch API cannot load https://www.ethansplagiojourney.com/wp-json/jetpack/v4/settings. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://ethansplagiojourney.elevatesites.com’ is therefore not allowed access. The response had HTTP status code 403. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.When I try to turn off a module, I get the following added:
active:1 POST https://www.ethansplagiojourney.com/wp-json/jetpack/v4/module/widget-visibility/active 403 (Forbidden)
/wp-admin/admin.php?page=jetpack#/appearance:1 Fetch API cannot load https://www.ethansplagiojourney.com/wp-json/jetpack/v4/module/widget-visibility/active. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://ethansplagiojourney.elevatesites.com’ is therefore not allowed access. The response had HTTP status code 403. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.Another thing…
I’ve installed the WPMU DEV Domain Mapping Plugin.
I just did a test turning off every plugin on and off, and I found that when I turn off the Domain Mapping plugin (Network Activated, as that’s the only option), Jetpack works perfectly!
When I turn it back on, this problem happens again.
Do you know anything about that?
BTW – I’m on shared hosting using cPanel. In case that helps!
I forgot to mention, flushing the cookies and logging out and back in doesn’t work.
I also tried various browsers (Chrome, Safari and Firefox), and also with private windows.
It didn’t work Jeremy.
I’m not sure if this problem might because because I have WordPress installed in an Addon Domain?
This WordPress Multisite is installed in /public_html/elevatesites.com
And in /public_html/ I have a standard WordPress install.
What are your thoughts on that?
Thank you Jeremy! It worked… I got the following confirmation:
“Contact Form has been deactivated.”
However, if I try turning it back on again it give me the following error:
“Contact Form failed to activate. Error: Cookie nonce is invalid”
Also, if I refresh the page, or exit then return to it, the slide button still shows as turned on.
Strange!
Do you know anything about this?
Hey Jeremy!
Plugins currently active on your network:
Cloner
Network ActiveDomain Mapping
Network ActiveMultisite Plugin Manager
Network ActiveWPMU DEV Dashboard
Network ActiveWPMU DEV Videos
Network ActiveYoast SEO
Network ActiveAs for your second question…
There was no red lines in the Network tab.
Here’s the errors in the Console tab:
load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,quicktags&ver=4.7.2:9 JQMIGRATE: Migrate is installed, version 1.4.1
/wp-admin/admin.php?page=jetpack#/writing:1 Fetch API cannot load https://www.ethansplagiojourney.com/wp-json/jetpack/v4/connection/url. Request header field x-wp-nonce is not allowed by Access-Control-Allow-Headers in preflight response.
/wp-admin/admin.php?page=jetpack#/writing:1 Fetch API cannot load https://www.ethansplagiojourney.com/wp-json/jetpack/v4/site. Request header field x-wp-nonce is not allowed by Access-Control-Allow-Headers in preflight response.
/wp-admin/admin.php?page=jetpack#/writing:1 Fetch API cannot load https://www.ethansplagiojourney.com/wp-json/jetpack/v4/module/contact-form/active. Request header field x-wp-nonce is not allowed by Access-Control-Allow-Headers in preflight response.
Forum: Plugins
In reply to: [Force Login] How to whitelist subdomain?Hi Fairy-Rider and Kevin, thanks for the responses!
I figure out what I needed… just needed the install the plugin on the MAIN SITE, and that was all.
It was just the root domain that I wanted to Force Login on.
Thank you!