How to Serve Content Depending on Country or Geo Location in WordPress

If you purchase through a link on our site, we may earn a commission. Learn more.

Some websites need to serve different content to people depending on the country or geographic location they sign in from. Usually we associate something like this with multilingual considerations, but it's not always the case. Sometimes the same language is used throughout, but the content served is different. Lets see what plugins can help us out to achieve these aims.
Table of Contents
WP Engine High Performance Hosting
BionicWP Hosting

Some websites need to serve different content to people depending on the country or geographic location they sign in from. Usually we associate something like this with multilingual considerations, but it’s not always the case. Sometimes the same language is used throughout, but the content served is different.

Lets see what plugins can help us out to achieve these aims.

Country Filter

Country Filter plugins allows you to control the visibility of WordPress elements depending on the users country of origin. You can hide or show certain elements of a page or some sections of a post from users browsing from a particular country. For example you could have a ‘donate’ button that displays only if the user is browsing from France, or display one ‘Buy Now’ button for a particular country and another for other countries. Maybe you want to display a video only for users in the US or Australia.

Developers and designers could use the plugin to load different stylesheets based on the users country. Services like hulu.com uses techniques such as this to constrain viewership to a particular country.

Download Country Filter

Custom Content by Country

Custom Content by Country WordPress plugin from Worpit offers you the option to show/hide content to users based on their location (where provided).

With a simple shortcode you can specify, using a list of country codes whether to display or hide a block of text/content.

Download Custom Content by Country

I also think that WordPress Multisite can be used in this case, although I cannot offer specific implementation guides. Has anyone of you worked in such situations? Leave your views in the comments section.

One question I have is this: How will serving different content affect your SEO and Google positioning?

If you enjoyed this post, make sure to subscribe to WP Mayor’s RSS feed.

Jean Galea

Jean Galea is an investor, entrepreneur, and blogger. He is the founder of WP Mayor, the plugins WP RSS Aggregator and Spotlight, as well as the Mastermind.fm podcast. His personal blog can be found at jeangalea.com.

Discover more from our archives ↓

Popular articles ↓

8 Responses

  1. One thing these plugins don’t provide is the ability to show different menu items to different locations. I actually wrote a free plugin that does this…

    1. Hi, the plugin seems to not work currently in my wordpress version i just download it and activate it but the fields doesn;t show at the menu. please help to fix this thanks.

Share Your Thoughts

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

Claim Your Free Website Tip 👇

Leave your name, email and website URL below to receive one actionable improvement tip tailored for your website within the next 24 hours.

"They identified areas for improvement that we had not previously considered." - Elliot

By providing your information, you'll also be subscribing to our weekly newsletter packed with exclusive content and insights. You can unsubscribe at any time with just one click.