Do you have a woo-commerce site with the string “V=XXXX” or something similar like this “v=c86ee0d9d7ed ” in your WordPress URLs?
If you ever faced this issue, I know how frustrating it would be to have the ugly URL on your Website. Even I had this issue while working with one of my clients to re-design her Website.
It took me a month to figure out the actual issue that caused the URL with the strange string, but I don’t want any of you to take a long time or feel bad to figure out what the duck is this link?
In this article, let me explain to you step by step what this permalink is and how to remove V =XXXX String from the WordPress website URL.
Note: This isn’t bug or malware; it’s just woo-commerce settings you will have to change, so read till the end and solve your issue.
What Is the “v=XXXX” String and Why this Appears on your Website?
The whole motive of the V=xxxx string is to enable and help WooCommerce calculate tax and shipping based on a Customer’s geographic location during an online purchase.
It helps determine the accurate quote and ensures that the component stores modules for WordPress plugins like W3 Total Cache.
Ultimately, this results in a quick and easy website to use for the customer and search engines.
But sometimes, even if you don’t want to calculate the tax & shipping for different locations.
This feature might have enabled default, or by mistake; you must have allowed the woo-commerce to enhance the tax and shipping based on the geographical location.
So let’s see how you can remove this V=XXXX string from your WooCommerce website URL,
How to Removing v=xxxx String from WordPress URLs?
It is a dead-simple process to remove the string from a WooCommerce website, but this feature might or might not help you. So it would be best if you reconsidered before disabling the string.
Log into your WordPress dashboard, and in the side menu, navigate to Woo-Commerce >> Settings.
You will see many options, but look for General Tab, Scroll down to the “Default customer location.”
* Refer to the below screenshot *
You will find that the default option would be “Geolocate (with the page caching support).
Now, change it to either “No location by default” or “Shop base address.”
By doing this, WooCommerce will not determine the location of a shopper to estimate shipping costs.
FYI: Make sure to scroll down to Save Change.
Boom, that’s it; you will see the changes in the front end ( on your Website). Right now, you will not be getting any string after the actual URL, and it will look clean.
But if you still see the string such as v=c86ee0d9d7ed or anything with V=XXXX.
Don’t worry; it might not reflect due to the cache plugin.
So, if you are using any cache plugin such as WProcket or W3 Total cache, clear the cache to see the changes on the front end of your Website.
How to GeoLocate Default Location Without Adding V=XXXX String?
The default customer location can always be set to “Geolocate” if you don’t want to show the v=XXXX string.
It’s easy to set up; again, you have to navigate to WooCommerce >> General Setting.
Scroll down and find the “Default customer location,” then set it as “Geolocate” in the drop-down window.
Nevertheless, there is a problem because this option does not work with static caching plugins.
It is incompatible and might lead the users to see incorrect shipping and tax information due to the previously cached pages.
But if your concern is not to get any string in the URL and want to give preference to the cache plugin to speed up your Website.
Then you can follow everything mentioned above.
Nevertheless, Static caching plugins do not support this option, and users will see incorrect shipping and tax information due to previously cached pages.
WooCommerce without caching is not recommended because the speed and performance of your site will be affected.
If you must use Geolocate in order to calculate shipping and taxes, for now, you will have to bear and live with the ugly v=xxxx string being displayed in your WordPress URLs.
this string isn’t going to impact a lot of decision-making from serious shoppers. Visitors are determined by your site’s layout, pricing scheme, and overall performance – not by some text on your permalink.
I hope this article gave you insight on how to remove the v=XXXX string, and it’s vital whether to enable or disable it on your WooCommerce Website if you offer shipping and tax estimates.
Let me know what your thoughts on a string in the WordPress website are?