How to Remove v=XXXX string from WordPress URLs?

How to Remove v=XXXX string from WordPress URLs?

The URL structure is a significant part of every website’s ranking on the search engine result pages. Having an optimised permalink structure can enhance the ranking and makes it easier for the users to understand the URL as well. However, most of the WooCommerce users may notice some unusual characters at the end of the URL. These characters are added by the WooCommerce plugin to determine the tax and shipping at their location.

The other reason why these characters are added is that it helps in caching your website using different plugins. There is a high possibility that you are using different caching plugins so you must be noticing these numbers in your URL. All these strings are added in the URL after the v=xxx format where the XXX is the additional characters.

Most of the people accidentally enable this feature even when they don’t want to use the geolocation feature. If you are among those who have accidentally enabled this feature, then below we mention the complete procedure to remove these v=xxx strings from your WordPress URLs easily.

Step 1

In the initial step, you need to login to your WordPress admin dashboard and navigate to the WooCommerce > Settings page. Afterwards, you need to head over to the General tab where you need to find the Default Customer Location option.

Step 2

Here you need to change this option from Geolocate (with page caching support) to No location by Default. Once you are done with the changes, you need to press the Save Changes button to keep all the changes.

Step 3

We have mentioned before that that the WooCommerce creates such links to cache the website for faster loading speeds. So, you need to remove the cache from your website to reflect the changes. To clear the cache, you need to open your web browsers, and head over to the Settings > Clear Browsing Data page or any other similar page or your browser.

Step 4

The browser will open a new popup where it will ask you the items which you want to delete from the saved data. The first thing you need to do is select the time interval to the beginning and select cookies and other site and plug-in data, and cached images and files. Upon selecting, you need to click on the Clear Browsing Data button, and the browser will remove the selected items.

Step 5

You can now visit your website to check whether the v=xxx string exists or not. If they are still present in the URL, then need to remove the cache from your plugin as well. The WP Super Cache is one of the most popular websites caching plugin, and if you are using that plugin, then you need to head over to your WordPress admin dashboard and visit the Settings > WP Super Cache page. Here you need to press the Delete Cache button, and the plugin will remove the cache.

This was the complete process of disabling the geolocation feature to remove the v=xxx strings from your URL. However, if you want to use this feature but don’t want to display these characters, then you need to follow the below mentioned steps.

Step 1

To enable this feature, you need to login to your WordPress admin dashboard and open the WooCommerce > Settings page. You need to follow the same process and head over to the Default Customer Location option from the General tab.

Step 2

Unlike the previous method, you need to select only the Geolocate option from the drop-down menu. Make sure to save all the changes to reflect the changes on your site. One thing you need to take care of is that this method is not compatible with the static caching plugins and may display incorrect information to the users. In addition to that, it can also slow down the loading speed of your website which can decrease the ranking of your website in the search engine result pages.

Now you know how to enable the geolocation feature without adding the additional characters to the URL. If you were unaware of this feature before, then below we mention the reasons why you should enable it.

Change in Tax

The tax is something which every citizen of the country has to pay for the development and run the government. These taxes vary from location to location, so it is necessary to keep track of the location of the user and attaint the right amount of tax. It doesn’t matter whether your ecommerce is selling products in a single country or multiple nations as each state may have their unique taxation policy which you need to take into account before presenting the final amount.

Shipping Cost and Currency

If your website is providing products in different nations, then you need to consider their currency and how strong their currency is when compared to the one of your country. For example, if you are listing your products in dollars, then you want to receive the currency valuing the same. The prices of the same product will value different in each country like India and Nepal as their currency value is different.

Apart from that, the manufacturer has to consider the shipping cost as well. In some places, the shipping cost is higher while others will ship the same product at cheaper rates. So getting to know the location of the user is always helpful and will allow you to provide an accurate quote without bearing any loss.


Another great thing that you need to consider is the language. If the user is unable to read the information about the product, then there is a very less chance that they will purchase it. Knowing the location of the user will help you in changing the language of your site and assist the users in getting detailed information about the product.


If you don’t want to use the geolocation feature, then you can safely remove the v=xxx string with the process mentioned above. However, it is best to use the geolocation as it will help you in providing a personalized experience to the user.

Leave a Reply

Your email address will not be published. Required fields are marked *

How to Add the WordPress Logout Link to Navigation Menu?

How to Add the WordPress Logout Link to Navigation Menu?

Create WordPress Intranet for Your Organization

How to Create a WordPress Intranet for Your Organization?