Why Google Maps API throws an error for all directories except one?
There is a site on the locale (WP, MAMP)
Is the plugin with Google map API.
If the site is located at the address localhost/wp/ , then everything works out of the box, without adding keys, etc.
If the website to be moved to a different directory, such as localhost/mysite/wp or transferred to your hosting, Google API starts to swear on absence of a key and the map turns into a grey block with the word error.
OK, in the console Google, I've created a new project, added a new key, all activated api for maps(just), said code key on the website. But still get the error, card not ale.
Why only in strictly certain directory on local, everything works without any keys?!
What could be the problem? Why adding a key does not solve the problem where Google asks?