How to get the Google Map URL

Do you need to add a map to your website? To embed a map correctly, you first need to get the Google Map URL, which is the absolute link to the map. It looks something like this:

https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d13029.230516427888!2d149.126443!3d-35.273477!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0xaff5aca422316383!2sSaudi+Arabian+Cultural+Mission+(SACM)!5e0!3m2!1sen!2sau!4v1463396665223

This long link is what tells the map where to center and what location to display. The steps below show exactly how to find and copy it.

How to Get the Google Map URL

Follow these steps to get the absolute link of any map:

  • Open Google Maps and search for the location you want.
  • Click the Share icon.
  • Select the Embed a map tab in the popup dialog.
  • Copy the link that appears in the code, which is the value of the SRC attribute (the part inside src="the-link-here").
  • Go to the post edit page, set the Post Head option to Google Map, and enter the map URL.

Tips for Using the Google Map URL

A few things make the process smoother. Always copy only the URL inside the SRC attribute, not the entire embed code, since the Post Head option expects just the link. If your map does not appear, double-check that you copied the full URL, because these links are long and easy to cut off.

You can also adjust the location and zoom level in Google Maps before copying the link, and the URL will update to match. This lets you show exactly the area you want without editing the code by hand.

Why Add a Map to Your Site

An embedded map helps visitors find your business, office, or event location at a glance. It improves the user experience and saves people from searching for your address themselves. Once you know how to get the Google Map URL, you can add a clear, interactive map to any post or page in just a minute. For more setup help, see our other WordPress information and guides.

Updated on May 31, 2026

Was this article helpful?

Related Articles