• Resolved aleksandreeu

    (@aleksandreeu)


    Hi, we are using Maxmind geolocation on our Woocommerce web. Also we have turned off CRON due to some reasons.

    i have read in your documentation, that “The system automatically updates every 15 days, using the built-in WordPress function WP Cron to trigger?woocommerce_geoip_updater.”
    As we have cron turned OFF, is it possible to run this cron manually? Is there any URL that we can trigger from external cron server to update the db?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Reynier (a11n)

    (@reynierc)

    Hi @aleksandreeu ,

    I understand that you’d like to manually update Maxmind geolocation database.

    To answer your question, you can update the MaxMind geolocation database manually by uploading the GeoLite2 database via FTP to the path wp-content/uploads/woocommerce_uploads/. Here’s a quick guide:

    1. Register for a free MaxMind account and log in.
    2. Download the GeoLite2 database in the .mmdb format.
    3. Unzip the file on your computer.
    4. Upload the .mmdb file using FTP to wp-content/uploads/woocommerce_uploads/.

    Unfortunately, there’s no direct URL to trigger woocommerce_geoip_updater individually without using a custom code snippet, but uploading the file manually should work. Please remember to backup your site before any modifications to be safe.

    Hope this helps!

    Thread Starter aleksandreeu

    (@aleksandreeu)

    Thank you! Can youplease providesomesnippet that could help without manual uploading file?

    Plugin Support Reynier (a11n)

    (@reynierc)

    Hi @aleksandreeu ,

    Thanks for your reply!

    Please note that providing custom code falls outside the scope of support policy. However, we could suggest using an external cron service to trigger the geolocation database update function.

    For instance, you can set up an external cron job to run the WP-CLI command: wp wc geoip-database update which should trigger the GeoIP database update.

    For detailed documentation on WP-CLI commands for WooCommerce, you can check here: https://developer.woocommerce.com/docs/category/wc-cli/

    Plugin Support Feten L. a11n

    (@fetenlakhal)

    Hi there, I’ll mark this as resolved since we haven’t received a reply. We’re here whenever you’re ready to pick this back up.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.