WP Engine

Solutions
AgencyEnterpriseSmall & Medium BusinessMarketer
How WP Engine supports marketers.Benefits for marketers.Features that help you innovate.
Developer
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Explore Our Platform
Insights
Thought LeadershipTopics

Read articles, trends, and insights on these topics from leaders in marketing and technology.

Creative AgilityEnterprise PerformanceActionable IntelligenceEcosystem Integration
Resources

Access ebooks, whitepapers, webinars, and other knowledge from our ecosystem of digital experts.
Visit Resource Center.

Delivering a Slam Dunk Experience on WordPressEbook: The Ultimate Guide to WordPress Plugins15 Common WordPress Mistakes Agencies and their Clients Make
Case Studies
About
Our CompanyOur PlatformLatest News

Access the latest news from inside WP Engine.
Visit the Newsroom.

WP Engine Secures Strategic Growth Investment From Silver LakeWP Engine Unveils First WordPress Digital ExperienceWP Engine Expands Global Presence with New Office in Brisbane
Media Center

Get announcements and resources about WP Engine.

Press Releases
Careers at WP Engine
Pricing
Sales Questions?

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Compare Plans
Need Support?
Support DocumentationBilling HelpSupport

We offer support 24 hours a day, 7 days a week, 365 days a year. Log in to get expert one-on-one help.

Log in for support

Sales Questions

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Sign in
Sign in
Search

Search

Compare Plans
Call Sales +1-512-201-4819
Menu
AgencyEnterpriseSmall & Medium BusinessMarketers
How WP Engine supports marketers.Benefits for marketersFeatures that help you innovate.
Developers
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Our PlatformPricingResource CenterOur CompanySolution CenterThought LeadershipDocumentationCareers

WP Engine GeoIP 1.1: Localizing Content Made Simple

Taylor McCaslin 5.26.2015

WP Engine GeoIP, which we launched earlier this year, empowers brands, marketers, engineers, legal departments, and site owners to serve site visitors localized content. GeoIP unlocks the ability to show visitors pricing in their national currency, sites in their language, and content that is most relevant based on their geography.

Over time, we have seen and heard about the benefits WP Engine GeoIP provides for our customers. However, there was one lingering challenge we needed to resolve. While integration of the GeoIP plugin on your site was relatively painless, it still required you to have some knowledge of API calls and development practices. Well, we have some exciting news for you: based on your feedback, we’ve made two changes that make WP Engine GeoIP even easier to use!

First, we have added more built in shortcode functionality to assist with displaying specific content to visitors in different locations. All you will need to do is add the shortcode tags for the content that needs to be displayed and GeoIP will handle the rest. Simple as that!

Here is an example of how to use the new shortcodes:

This will display “Content just for US visitors” strictly for visitors viewing from the United States.

[geoip-content country=”US”] Content just for US visitors [/geoip-content]

This will display “Content just for everyone in Texas and California” strictly for visitors from Texas and California.

[geoip-content region=”TX, CA.”] Content just for everyone in Texas and California [/geoip-content]

This will display “Content for everyone not in San Francisco” strictly for visitors not from San Francisco. Viewers in San Francisco will not see this message.

[geoip-content not_city=”San Francisco”] Content for everyone not in San Francisco [/geoip-content]

In addition to the new shortcodes listed above, we’ve added new testing functionality that makes it even easier to test how your localized content will appear to visitors from various geographic locations. Using “spoofing parameters,” you can add any of the parameters below to your URL to test visiting the page from the specified location:

?geoip&region=TX – Visiting from the state of Texas
?geoip&country=US – Visiting from the United States
?geoip&city=Austin – Visiting from Austin, Texas
?geoip&zip=78701 – Visiting from the U.S. zip code 78701

Please note: full page redirects and TLD redirects still need to be implemented with the necessary API calls. You can see the full changelog here.

All these new features are included in version 1.1 of WP Engine GeoIP, which is now available in the WordPress Plugin repo. If you need to update your GeoIP plugin to the latest version, there are two ways:

  1. Update the plugin through the WP Admin Dashboard with the default plugin updater.
  2. Download the plugin files from this page: https://wordpress.org/plugins/wpengine-geoip/.

We are always seeking to improve our customer experience and offer additional features and uses for GeoIP. Keep an eye out for additional functionality in the future.

For more information on WP Engine GeoIP, download our ebook.


3020 Taylor McCaslinTaylor McCaslin works as a Product Manager at WP Engine. WordPress has been Taylor’s platform of choice for over 5 years, he even paid his way through college by freelancing as a WordPress developer! When not creating products that captivate and delight, you’ll find Taylor geeking out with the latest tech gadget or experiencing the rich Austin art scene.

Follow Taylor on Twitter @Taylor4484.

More WordPress news from WP Engine

Live Google Hangout: Finely Tuned Consultant With Michelle SchulpPower Your Brand With The Four Ss Of Managed WordPress Hosting [Video]

Leave a Reply Cancel reply

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

  • Subscribe

    Subscribe to our blog to get great tips for your WordPress site.

  • Favorite Tweets by @wpengine
  • Sign In

    Solutions

    • Agency
    • Enterprise
    • SMB
    • Marketer
    • Developer

    Insights

    • Blog
    • Torque
    • Velocitize

    About

    • Our Company
    • Leadership Team
    • Our Platform
    • Careers
    • Affiliates
    • Contact
    • Legal
    • Newsroom
    • Privacy Policy

    Resources

    • Resource Center
    • Documentation
    • Solution Center
    • Find an Agency

    WP Engine

    504 Lavaca Street, Suite 1000
    Austin, TX 78701

    Sales

    +1-512-201-4819
    [email protected]
    7am–7pm CST

    Billing

    [email protected]

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Instagram
    • RSS
    © 2013—2025 WPEngine, Inc. All rights reserved.
    WP ENGINE®, VELOCITIZE®, TORQUE®, EVERCACHE®, and the cog logo service marks are owned by WPEngine, Inc.