You might have noticed that the URLs in your site all come with a string at the end of it looking something like ?v=3j123445
. What is it and where does it come from?
If your site uses WooCommerce, that is where it comes from and it is not dangerous at all, it is actually helpful!
WooCommerce and Geolocation
The string ?v=xxxx
comes from the geolocation feature included in WooCommerce. It allows the system to calculate taxes and shipping costs based on the customer location before they even enter their address.
This is particularly useful for those shops that set their prices excluding taxes, to avoid showing prices that are not realistic and having customers dropping off from checkout only because they found out that they now have to pay more because of taxes.
Do I Have To Keep This Ugly String?
The good news is that no, you do not need to keep the ?v=xxxx
string in the URL in order to use geolocation. WooCommerce comes with four different options to define the customer location:
- No location by default: this means that WooCommerce will not assume any location at all and will wait for the customer’s input;
- Shop base address: WooCommerce will use the shop address as a default location. Taxes and shipping costs will be calculated later at Checkout;
- Geolocate: WooCommerce will try to geolocate the customer and use that location as their base location;
- Geolocate (with page caching support): Same as above but with the cache. This is the option that adds the
?v=xxxxx
string to your URLs.
If you see the string in your URL it means that you choose the last option. You can change your choice in WooCommerce > Settings > General > General options > Default customer location. Simply choose Geolocate or a different option other than Geolocate (with page caching support) in order to get rid of the string ?v=xxxx
from the website URLs.
Contribute to Improving This Blog
Did you enjoy this article? Was it helpful? Contribute to help me writing more articles! The funds collected from this blog are reinvested directly into improving my skills or the blog so that I can provide more and better content!
Make a one-time donation
Make a monthly donation
Make a yearly donation
Choose an amount
Or enter a custom amount
Your contribution is appreciated.
Your contribution is appreciated.
Your contribution is appreciated.
DonateDonate monthlyDonate yearlyDo you prefer using cryptocurrency? I’ve got you covered! You can donate at the following wallets:
- BTC: bc1q87nxpdpqw323ccmerrzyeffs72wnxpw93x7pzk / 17Gtc5e8yoh2LZzokoyK8P5DWbToBwztok
- ETH: 0xA5C89Be1df2896C3942DBEf751cCeacC7929388b
Leave a Reply