Saeesh
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] Change AMP URL@westonruter
So I am working on the migration of a site which already has the AMP URL in the following format: mysite.com/amp/wordpress/post-name. Wherein the wordpress site resides in /wordpress.So I figure when the page loads, if I have a hook of the AMP plugin which is called and then returns the data specifying if it is to show the AMP page or not, and also the URL which AMP page should be shown. This is then passed to the plugin and it opens the AMP page returned by the hook.
So in that hook, I will check whether the current URL contains a /amp or not and pass the specific URL of page to show.
I guess I will have to build this in a custom way, but if I could use the plugin atleast for the AMP that will be great.
- This reply was modified 5 years, 6 months ago by Saeesh.
Forum: Plugins
In reply to: [AMP] Change AMP URL@westonruter Great. Actually, what I need is a hook which decides if to proceed with the amp version of the current URL or not and its an absolute necessity so can this be done with the plugin?
- This reply was modified 5 years, 6 months ago by Saeesh.
Forum: Plugins
In reply to: [W3 Total Cache] Object Disk Cache drawbacks in production@ vmarko We are using AWS EC2 server instances and not shared hosting. We discarded redis because there were some security concerns and larger RAM needed. Will object caching via disk not be efficient to use?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Change AMP URL structure@ bruceallen Can you give some pointers as to what kind of plugins?
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Change AMP URLSuch a basic requirement not available. This is very disappointing
@mbrsolution That will disable the feature completely. Can I not set the number of retries for wrong username?
- This reply was modified 5 years, 7 months ago by Saeesh.
Fixed it.
@oscargare I have kinsta cache enabled on the site. I’m pretty sure it is because of that. I will do the tests and get back to you.
I have literally checked it on my end. The woocommerce method was returning country ‘IN’ and the plugin was returning me the currency ‘USD’ which is wrong. This was in incognito when user is not logged in. Anyways I have fixed it on my end now. Thanks
@oscargare
I dont want the JavaScript code of the option “load product price in the background” to load because it loads the wrong prices. I have done the ajax setup and checked.The fix I have found is to set the zone manually using this method wcpbc_the_zone()->set_id($zone) after I find the country from the woocommerce method WC_Geolocation::geolocate_ip()
Is this correct? If not please tell me the correct fix for this plugin bug
- This reply was modified 5 years, 11 months ago by Saeesh.
Forum: Plugins
In reply to: [WooCommerce] Geolocation is wrong due to caching@stuartduff I mentioned it is already set to that but its still not working. I’m not sure if its the plugins bug or woocommerce
@oscargare The method WC_Geolocation::geolocate_ip(); displays the correct country so the country returned from woocommerce is correct. But still the plugin fetches the wrong prices and returns a wrong zone.
For example, geolocate_ip returns country ‘IN’ and the plugin displays currency in ‘USD’ dollars.
So the caching bug is in this plugin itself and not woocommerce. Can you tell me how this bug in this plugin can be fixed?
- This reply was modified 5 years, 11 months ago by Saeesh.
@panaud2020 It might be due to the “Load products price in background” option. Check here https://ww.wp.xz.cn/support/topic/load-products-price-in-background-option/