# Install LocaliQ Themed Site

We've aimed to provide the necessary steps to move the site to another WordPress installation. If this is your first time moving a WordPress site, we would recommend reading this [post](https://codex.wordpress.org/Moving_WordPress) from the WordPress Codex.

## Install WordPress Normally

Install [WordPress](http://wordpress.org) as you normally would, be sure to use the default WordPress table names i.e. `wp_`. We recommend installing your Wordpress files in your root directory instead of a subdirectory like domain.com/wordpress.

## Add LocaliQ Customizations

1. Unzip Archive file.

2. You should have a `.sql` or `.sql.tz` file, and a `wp-content` folder.

3. Delete the default wp-content folder from your WordPress installation.

4. Copy the archive wp-content folder provided in archive.

5. Edit the `wp-config.php`. Add the following after `define( 'WP_DEBUG', false );` add: 

        // Require Autoloader
        require_once(  ABSPATH . 'wp-content/vendor/autoload.php' );
        
    IMPORTANT: If you are moving your website to WP Engine, instead of using the instructions and code above, follow these instructions instead. After the line `## WP Engine Settings` in the wp-config file, add this:

        // Use Composer autoloader for theme-based functionality.
        // This must run before WP is bootstrapped.
        require_once __DIR__ . '/wp-content/vendor/autoload.php';

6. In your host's MySQL database, delete the default tables that were setup during the installation process and import the tables we provided via the `.sql` or `.sql.tz` file in the archive.

7. Using a tool like phpMyAdmin, check the wp_options table in your MySQL database and make sure the [site url] and [home url] are correct. These are the first two rows in the table. Use [WP-CLI]() or [SearchReplaceDB](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/) to find and replace the incorrect domain name with the correct domain.  See [WordPress Codex](https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs) for additional information.