Cornerstone crashing WP

Hello.

I have a WP site running x theme.
Cornerstone was used to design the pages of the site.

When I now click ‘edit with cornerstone’ I get kicked out of Wordpress and sentback to the login page where I get stuck in a loop and cannot log back into the Wordpress dashboard.

The only way I can access the site again is by deleting the cornerstone plugin from the plugins folder.

Advice would be appreciated.

Thanks

Hi Carl,

Thank you for writing in, You’re having a Cross-Origin Resource Sharing (CORS) issue. That means this URL https://cdmgraphics.co.uk/ has been blocked from providing resources to https://www.cdmgraphics.co.uk/ yes even if they’re referring to the same site. Basically, your site is blocking its own resources.

Please access your .htaccess file via FTP and add the following lines in there:

Header add Access-Control-Allow-Origin: https://cdmgraphics.co.uk/
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"



Let us know how it goes,
Cheers!

Hi Friech,

Thanks for your reply.
The login loop has now stopped however I now get a 404 when trying to access cornerstone or x theme options.

I have tried reinstalling the theme however I get the same fault.

Any ideas?

Thanks,
Carl

Hi Carl,

Please check under Settings > General and make sure Site Address and Wordpress url are the same and is on https instead of http

You can also try resetting permalinks by going to Settings > Permalinks and click on Save Changes

If none helps, please provide us your wordpress admin login in Secure Note

Thanks

Hi Paul,

This worked a treat, thanks a lot!

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.