Google Maps Are Not Working
We highly recommend securing your API key to prevent others from using your quota. The downfall is that restrictions can cause the maps to fail. There is also the chance that the required service is disabled or returns an error.
Without the proper keys and restrictions, you’ll see the following error:
Oops! Something went wrong.
Table of Contents:
Did I Enter Keys?
- Log in to your WordPress website.
When you’re logged in, you will be in your ‘Dashboard’.
- Click on ‘SEO’.
On the left-hand side, you will see a menu. In that menu, click on ‘SEO’.
- Click on ‘Local SEO’.
The ‘SEO’ settings will expand providing you additional options. Click on ‘Local SEO’.
- Click on ‘API Keys’.
If you have not entered keys, please read this article about why you need a key and follow the steps to generate and enter a browser (required) and server (optional) key.
If you have entered keys, please remove API restrictions.
How to Regenerate A Key
You may need to regenerate a key for a variety of reasons, especially if you notice another site is using your key.
- Go to Google API Console.
If prompted, log in.
- Select your site project.
- Click on the name column of the key you need to regenerate.
- Click ‘Regenerate key’.
- Click ‘Replace key’.
- Click ‘Save’.