Best Guide on Removing v=XXXX string from WordPress URLs

You might have noticed strange v=xxxx string in your WordPress URL. This string is comprised of an apparently arbitrary letter and numbers added as a parameter to your permalinks. In this article, I will demonstrate to you industry standards to effectively expel v=xxxx string from your WordPress URLs.

This string shows up on sites running an online store utilizing WooCommerce. It isn’t a bug or a blunder, yet a real component of the module.

The motivation behind this string is to enable WooCommerce to calculate tax and shipping based on a user’s geographic location. The string helps make the component good for WordPress storing modules like WP Super Cache or W3 Total Cache.

However, if you don’t need to calculate shipping and taxes based on different locations, then you probably accidentally enabled this feature.

Let’s see how you can easily disable it and remove the random v=xxxxxx strings from your WordPress URLs.

Removing v=xxxx String from WordPress URLs:

Removing v=xxxx String
Removing v=xxxx String

  • Login to your WordPress admin area and head over to the WooCommerce » Settings page.
  • Under the General tab, scroll down to ‘Default customer location’ option.
  • Set to ‘Geolocate (with page caching support)’.
  • Change it to either ‘No location by default’ or ‘Shop base address’.
  • Click on the save changes.
  • If you are using a caching plugin, then you will need to clear your WordPress cache.

For selecting GeoLocate Default Location Without the URL String:

Select the ‘Geolocate’ option in the ‘Default customer location’ setting.

Note: This option is not compatible with static caching plugins. This will show incorrect shipping and tax information to users due to the previously cached page.

Amit Malewar
Amit Malewar has been the tutorial writer since 2013. His passion for helping people in all aspects of technology flow through in the expert coverage he provides. In addition to writing for InfoPhilic, Amit loves to read and try new things.


Subscribe to our newsletter

To be updated with all the latest news, offers and special announcements.



Please enter your comment!
Please enter your name here