kedves
Forum Replies Created
-
Hi,
Thanks for your answer and please excuse me, I forgot to mention this in my list: I have already deleted the revisions and referenced transactions with the help of a plugin, but without success.
Unfortunately, I am also unable to save templates, as I get a 500 error there as well. Even if I want to edit a new page with Elementor, I cannot save it as soon as the page contains at least one element. It doesn’t matter whether it’s just a grid layout or just an image, for example.
- This reply was modified 6 months, 2 weeks ago by kedves.
I have sent the email with the screenshot of the service settings.
- This reply was modified 2 years, 6 months ago by kedves.
Thank you for your feedback. Unfortunately, adding via the “.htaccess” file does not work with all hosting providers. Configurations in mod_headers or in the “.htaccess” file are not taken into account for PHP files in this system environment. One way to set the CSP for these providers is to use the HTTP Headers plugin, for example. But if this is used, the pages loaded from the cache can be integrated as iframes. Do you have a suggestion as to what can help in this case?
Thank you very much, I’am looking forward for their suggestions.
As of my last knowledge (updated in January 2022), Google Chrome had removed support for the
X-Frame-Optionsheader in a<meta>tag.function add_security_headers() { // Set X-Frame-Options Header header('X-Frame-Options: DENY'); } add_action('send_headers', 'add_security_headers');I have inserted the above code in the functions.php of my childtheme. It is successfully recognized and embedding via iframe is blocked. However, this only works if the caching plugin is deactivated or the page is reloaded and not loaded from the cache. As soon as it is loaded from the cache, embedding via iframe is possible again. Is there an error in my code that prevents this procedure from working in my case?
Thanks for your answer. Yeah I already tried that, but it’s also not working the way it should.
Yes the changes in the htaccess file I have also already tried, however, I can then still embed the web page as iframe after it is called once and then loaded from the cache on the next call.
All csp related data, be it in functions.php or in the htaccess file are no longer present as soon as the file is loaded from the cache. If the cache is emptied and the page is called, the information is active once. When calling again, the information is no longer there.- This reply was modified 2 years, 6 months ago by kedves.
I have already found this setting, but it does not fit my problem, because the Http header information removed by caching is not set as a cookie. So I have not implemented a cookie, just included the csp information in the request. But maybe I misunderstood your answer? Could you maybe clarify this?
Forum: Plugins
In reply to: [WooCommerce] Individual category for some variants of variable productsThe plugin I use is not the same as the plugin you mentioned. Yes I read the documentation, but I’m not sure if the plugin would solve my problem.
But I use now a snippet of code, which works for me! 🙂Thanks for your help anyway!
Forum: Plugins
In reply to: [WooCommerce] Individual category for some variants of variable productsHello @serafinnyc,
thanks for Your answer. Before I buy the plugin I want to be sure, that the plugin has the right functionality for my problem.
For example:
I have 6 products in my category and no I want the customer to buy in total max. 6 items from these category. It doesn’t matter if there are 3 items of the one product and three from the other product and no items from the other 4 products in this category.
Is this szenario possible with the plugin? Or is there any free solution I could try?Best wishes
Forum: Plugins
In reply to: [WooCommerce] Individual product quantities and shipping costsHello kellymetal,
Thank you very much for your answer. I had already thought about this possibility to create even more variants. However, I had the hope that I would be spared this (many variants and then even more) 😀
I had hoped that there would be another possibility. But in this case I will implement your suggested implementation.Many thanks again and many greetings!
Forum: Fixing WordPress
In reply to: Individual product quantities and shipping costsHello Kartik Shukla,
thanks for your answer. I will ask my question there 🙂
Best wishes
kedves