---
title: "How to install the Geolocation database in PrestaShop 1.5"
description: "PrestaShop 1.5 has the ability to restrict specific countries from accessing your shop. There are a few steps to take before you can turn this ability on.The first is to get the Geolocation database..."
url: https://www.inmotionhosting.com/support/edu/prestashop/install-geolocation-database-prestashop/
date: 2012-06-11
modified: 2022-03-11
author: "Scott Mitchell"
categories: ["Prestashop"]
type: post
lang: en
---

# How to install the Geolocation database in PrestaShop 1.5

PrestaShop 1.5 has the ability to restrict specific countries from accessing your shop. There are a few steps to take before you can turn this ability on.
The first is to get the Geolocation database installed into your program. To get the geolocation database installed into your Prestashop 1.5 account, just perform
the following steps.

**To install the geolocation database into your PrestaShop 1.5:**

1. [Log into your PrestaShop 1.5 dashboard](/support/edu/prestashop/login-to-dashboard/)
2. From the top menu bar, hover over the **Preferences **tab and select the **Geolocation **option.[![preferences-tab-geolocation](https://www.inmotionhosting.com/support/wp-content/uploads/2012/06/edu_prestashop1.5_Preferences_geolocation_preferences-tab-geolocation.png)](/support/wp-content/uploads/2012/06/edu_prestashop1.5_Preferences_geolocation_preferences-tab-geolocation.png)
3. At the top of the page you will see the following notation: **In order to use Geolocation, please download this file and extract it (using Winrar or Gzip) into the /tools/geoip/ directory** Click the words ‘**this link**‘ in order to download the file. (remember where you place this file on your computer) The file name is **GeoCityLite.dat.gz[![preferences-tab-geolocation](https://www.inmotionhosting.com/support/wp-content/uploads/2012/06/edu_prestashop1.5_Preferences_geolocation_preferences-tab-geolocation.png)](/support/wp-content/uploads/2012/06/edu_prestashop1.5_Preferences_geolocation_preferences-tab-geolocation.png) **
4. ****Upload your file into your account under the path /tools/geoip.
5. Right click your file and select uncompress. This will bring the file out in the form you need it. It will be named **GeoCityLite.dat**
6. ****Your Geolocation database is now installed into your account for PrestaShop 1.5!
