luboslives
Forum Replies Created
-
This post might be a good place to start:
https://www.ads-software.com/support/topic/how-do-i-delete-customers-with-no-orders/#post-7313872I also have a problem with a store with multiple currencies. I debugged it first with the Currency Switcher plugin authors, and it came down to a problem with this plugin.
Say the item is on sale for $5 CAD – it will show both the regular price and the sale price in the CAD amounts for other currencies (USD, EUR). Obviously this is leading to a loss in sales when the converted prices would be much lower to those customers.
In the cart, we default to CAD and the price is correct again, but in the store pages and product pages it’s incorrect.
I figured it out. Somewhat obvious but it didn’t cross my mind.
I needed to update the string length for each link to an mp3 file in the
meta_value
field. All of them were 14 characters longer after updating the url from localhost to the live domain, so for examples:62:"https://...
should change tos:76:"https://...
Hope this helps a random Googler.
I tried disabling ModSecurity, as well as any access controls to the staging area, but neither made the tracks appear in the playlist. So that should rule out server error, in those forms.
Forum: Plugins
In reply to: [LiteSpeed Cache] “The minified and combined files are cached.” Why?Thanks @qtwrk, that makes sense for the TTL setting.
I’ll try to see if I can come across the bug again. I’m convinced it’s a bug – I have full control of my headers using the Static Context settings for this vhost inside my OLS server settings, so I know what should and should not be there. It would make sense to me if these somehow got pushed to the cache because the cache sits in front of the server and I imagine it dictates its own headers, never reaching mine. When the bug occurs, it ignores my headings completely and uses its own, the ones mentioned in the original post.
Forum: Plugins
In reply to: [LiteSpeed Cache] “The minified and combined files are cached.” Why?@jyrbba good to know I’m not crazy. If you can, open up dev tools in your browser and inspect the Headers to see if you get anything like the ones I mentioned ^
In Chrome or Firefox it would be under the Network tab. Refresh the page and then click on the file to get the side menu, which shows headers, specifically the Response headers.
Forum: Plugins
In reply to: [LiteSpeed Cache] “The minified and combined files are cached.” Why?Your official docs say otherwise:
https://docs.litespeedtech.com/lscache/lscwp/pageopt/#cssjs-cache-ttlI’m trying to recreate the problem after turning off all minifiy/combine settings, but I’m having no luck. It seems like I may have run into a bug. Maybe I have to file a bug report? But I can’t recreate it at the moment..
Along with those extra headers in my original post, I was also seeing the
x-litespeed-cache
header being sent with the js and css files. They definitely seemed to be getting pushed to the cache somehow.Makes sense, thanks for the reply!
Hi, just to get some clarification:
Does NinjaFirewall take precedence over Mod Security, or vice-versa, or does it get along with Mod Security? And is there some sort of hand-off where they both filter php requests, or just one does the filtering?
Wondering if they’re redundant or even stronger together.
Forum: Plugins
In reply to: [LiteSpeed Cache] Additional optimization for “Remove WordPress Emoji”Found the filter:
function remove_wpemoji_prefetch( $urls, $relation_type ) { // s.w.org gets appended as the last entry $lastkey = count( $urls ) - 1; unset( $urls[ $lastkey ] ); return $urls; } add_filter( 'wp_resource_hints', 'remove_wpemoji_prefetch', 0, 2 );
Looking at
wp_resource_hints()
, my best guess is that s.w.org gets appended as the last entry in the$urls
array, but that might require some testing across different sites connecting to different domains.From what I read, WordPress will automatically set up dns-prefetch for every external script passed through
wp_enqueue_style
orwp_enqueue_script
.- This reply was modified 5 years, 4 months ago by luboslives.
Forum: Plugins
In reply to: [WooCommerce Geolocation Based Products] Are multiple regions possible?Looks like a bunch of people on this support forum have this same problem. I just came across it too.
Anyone find a solution? Or a different plugin?
Forum: Plugins
In reply to: [Search Exclude] Not Hiding A Page – Simple ImplementationSorry, no I simply meant that I am trying to hide the Existential Dissipation page from search results – using the plugin as it is intended. And it’s not working for some reason.
Maybe I need to specify a lower priority inside
add_filter()
?Forum: Plugins
In reply to: [Currency Switcher for WooCommerce] Currency Code in order listThat would be a nice feature, +1
Forum: Plugins
In reply to: [Contact Form 7] recaptcha not display in frontendSame problem.
Hi John, I never actually solved this problem for myself. It just fixed itself when I created new Sidebars on the actual live site. But the funny thing was, now that C.A.S. was recognizing the Shop page, it actually stopped recognizing the dedicated Blog page in the exact same manner.
I ended up creating a custom template in my theme only for the blog index page, and registered a new widget area in my theme for just that page, which i then called in the template. Then I stuck what I needed into that new area through the widgets page in the admin area. Not really a solution, but it did the job.