Generating Google Maps API key

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 7 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #404019

    Fran
    Expired Member
    Post count: 10

    When using WP Multisites, can I use the same GOOGLE MAPS API KEY for all sites or do I need to generate one GOOGLE maps API key per site?

    #404053

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    A reminder, GD cannot be Network Activated. It will not function correctly on subsites if it is Network Activated.

    You will need to enter a key into each site, whether you use the same key or not.

    In theory you can use the same key for all the sites, but you will need to adjust the security restrictions on the key to allow for that. That is not the default security settings.

    It would be more secure to create as many keys as are needed within the same Google Console Project, and to restrict each key to the URL where it will be used.

    https://wpgeodirectory.com/docs/add-google-api-key/

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount