Porto Google map Error : Oops! Something went wrong.

I get API Key from google and inserted on setting API code.
But I steel get this error :
Oops! Something went wrong.
Why ?

Can you post a link to the page with the broken maps? I’ll be happy to try finding the cause of the error for you.

You can ask your question with your item author @p-themes

they give you also good solution for their won developed theme

Yes of course

I can see this error
Google Maps JavaScript API error: RefererNotAllowedMapError
Your site URL to be authorized: https://cetinshoes.com/contact-us-advanced/

Please check your google map api has permission for this domain.

Thank you for your reply.
I created another project to get Another API Code with corrected refferals :
I Add these 3 addresses in “Accept requests from these HTTP referrers (web sites) (Optional)”
1- https://cetinshoes.com
2- https://cetinshoes.com/contact-us-advanced/
3- https://.cetinshoes.com/ ( start befor cetinshoes and after/)
Then I replaced the api cide with the old in wordpress and save changes,
But Unfortunatuly I got the error agein.
Because I am sort of beginner, Can you say my what do I do in more detail.
Thank you.

Hi @Esteghamat

In the Google Developers Console, where you create the API key, in the “Accept requests from these HTTP referrers (web sites)” just add these two entries for your website and it should work:


The asterisk (*) in the first entry means any sub-page of the main domain (cetinshoes.com).

And in the second entry, the asterisk at the beginning means the map key will work for any protocol of your website (http or https) and at the end means for any sub-page having that protocol.

Let us know please, if this helps :wink:
All the best!


I did that but the problem was not solved.
Although I don’t like this change,I will use “Google Map” Element Instead Of “Porto Google Map” Which does not need API Code.
Thank you for your reply.