Page 1 of 1

Removing the string v=XXXX from WordPress URLs

Posted: Wed Jan 22, 2025 6:31 am
by Mostafa044
Recently, one of our visitors who uses WooCommerce asked us how to get rid of the string v=XXXX from his WordPress URLs. This string consists of seemingly random letters and numbers that are added as parameters to your permalinks.

In this article, we will show you how to easily remove the string v=xxxx from your WordPress URLs.

How to Remove v=xxxx string from WordPress URLs
Why do you see the string v=XXXX in your WordPress URLs?
The string v=XXXX appears on websites that run an online store using WooCommerce. This is not a bug, but a feature of the WooCommerce plugin.

String with letters and numbers added to WordPress URLs by WooCommerce
The purpose of this string is to help WooCommerce list of qatar cell phone number calculate shipping costs and taxes based on a user's geographical location. The string helps make the feature compatible with WordPress caching plugins such as WP Super Cache or W3 Total Cache .

If your store doesn't require location-based calculations for shipping and taxes, this string may not be unnecessary. Also, it's a good practice to simplify your website URLs and make them more SEO friendly.

So let's see how to disable and remove the random v=XXXX strings from your WordPress URLs. You can use the links below to jump to the topic you want:


On the General tab, scroll down to the “ Default Customer Location” option.The default customer location setting in WooCommerceIf the string v=XXXX appears on your website, the customer's default location is set to 'Geolocate (with support for page caching)'. Change this setting to either “No location by default” or “Store country/region”.