I’m facing a couple of issues with my WordPress site:
.htaccess File: I’m unable to change permissions for my .htaccess file, and I’m getting a “550 Could not change perms on .htaccess: Operation not permitted” error. I need to add specific headers to resolve a CORS policy error. Can someone assist with this?
Header, Footer, and Logo: My site’s header, footer, and logo are not displaying correctly in the WordPress Customizer. I can’t see them properly, and the preview is blurry or missing elements.
Any help or guidance on resolving these issues would be greatly appreciated.
Why do you think you need to change the permissions on your .htaccess file to begin with?
Are you trying to edit the .htaccess file in the root folder of your account? If so, if you see the contents, you will see it says DO NOT EDIT THIS FILE at the top, with instructions on what you should do instead. If so, then don’t try to edit the file, and follow the instructions shown to edit your .htaccess instead.
Please note that embedding resources on a website hosted with us on any other website is not possible due to this security system:
That said, please note a few things:
Most “CORS errors” we see are not actually a problem with CORS, but another issue which just happens to generate an error related to CORS, but doesn’t actually need CORS to be fixed, and needs something else entirely. Examples include 404 errors, 403 errors and website URL configuration errors.
CORS headers only affect other websites/domains trying to access resources on your website. It doesn’t affect your ability to embed resources from other websites. If you’re trying to embed resources from other sites and it’s not working, then please check with the operators of the other website if their CORS headers can be adjusted.
I’m sorry, but I’m not enough of a WordPress expert to be able to tell you why certain parts of a page might be “blurry”.
my editor preview is not working and at the inspect it shows CORS + err failed error
this started to happen after I updated the theme i am not an expert but
i have tried this basic methods like clear cache plugin conflict permission nothing worked
so if anybody can help me or guide me through this issue
Yes, that’s exactly what I suspected. You are indeed getting a CORS error… on our 403 Forbidden error page. Which is perfectly normal and OK. But what’s not OK is that apparently some URLs in your website are responding with 403 Forbidden. That’s the actual issue you should look into. Because you can’t “fix” CORS for error pages we don’t allow CORS for.
I’m not enough of a WordPress expert though to tell you why you would be getting this error. Do you have any security plugins or anything like that that could interfere with your own ability to access your site?
not really the only activated plugins are the woocommerce plugin elementor plugin and reallt simple ssl plugin and i dont dont thing so any of these are causing the problem because i looked into plugin conflict before as well
can you guide or help me more what i can do so that i can edit my site with ease because i have to add logo which i can only do once the editor is working smoothly
These do consume lots of resources, but I don’t think that they would throw 403 errors though, especially when the error is just thrown from the Gutenberg (site-editor.php).
@AmnaWPHelp This was indeed a common issue related to the block editor. The endpoint itself is working, but please do provide more info, including how it currently behaves and what do you expect it to do.
Unfortunately, I was unable to replicate the issue. The entire Gutenberg editor loads up just fine, with all the template parts there, ready to be edited.
Please give it some time and try again, then see if the issue persists.
You are aware that WooCommerce is also a plugin, right? So you can’t use a feature from a plugin and claim that plugins are not relevant. And if WooCommerce is broken, that could be a WooCommerce issue, not a WordPress issue?
Thank you for pointing that out. I understand that WooCommerce is a plugin, but my issue involves the broader interaction between WooCommerce and WordPress itself. Given that the problems arise specifically in the customization preview and impact essential site elements like the header and footer, I believe there could be a deeper issue at play, possibly related to the theme, WordPress core, or even conflicts between WooCommerce and other plugins.
I would appreciate any guidance you could provide on troubleshooting this further, especially if there are known issues or updates that could resolve this. I’m committed to making this work and would love any advice on steps to take next.