GeoTheme to GeoDirectory Tutorial

Before you start:

  1. BACKUP EVERYTHING! (yes that is me shouting)
  2. Make sure you have the latest GeoTheme (GT) installed (3.7.1).
  3. Make sure your WordPress (WP) is up to date (4.5+)

For this tutorial we will be converting the site from GT to GD. Please don't try this on a live site, we will be copying our entire site to a sub directory and running the conversion there first.

Make a dev site for the conversion:

  1. Copy your site files to a sub-folder or sub-domain for testing the conversion, in our case we will be copying our site to a /GD/ sub-folder. Below i am using Cpanel but the same can be achieved with SSH or FTP. gd-folder-createcopy-files
  2. Copy Your DataBase (DB), in my case i am using phpMyAdmin to do this which is included in cpanel usually. Select your table: select-dbSelect "Operations": select-operations Copy the table: name-new-db
  3. Edit your wp-config.php file in your dev site to use the copied Database. edit-wp-config
  4. Make sure the DB user has privileges on the new table, you can use Cpanel for this to add the user to the copied table: add-user-to-db
  5. Finally change the "siteurl" and "home" values to the new url in your DB wp_options table. chnge-urls-db to our dev url with /GD at the end: urls-change-db
  6. Dev Note:  If you have plugin "Query Monitor" installed and active it can cause problems, just delete the folder from your plugins if you are getting 500 error on your dev site.

You should now have a working dev site that we will use for the conversion.

Start The Conversion:

  1. Install and activate the GT2GD conversion plugin DOWNLOAD Latest gt2gd-install
  2. Go to the GT2GD admin screen, here it will have most instructions on what to do next but in this case you can continue to follow this tutorial: gt2gd-screen
  3. Switch theme to a non GT theme, i would suggest Directory Starter which can be installed direct from your wp-admin area by searching themes for "Directory Starter" but you could use just a standard WP theme.
  4. Disable any non essential plugins, especially any caching plugins.
    Install and activate GeoDirectory V1 and set the default location and then any GDv1 addons you will be using.  It is important to install and activate addons like Location Manager, Events, Payments Manager, Claim listings addons etc if you have this sort of info in your GT install. (or just activate everything if your not sure). You dont need to add any setting for the addons at first, you can do that after the conversion.
  6. Now visit the GT2GD admin screen again and you should now see the button to start the conversion: start-conversionClick the button to start the conversion: conversion-done
  7. Once done, go to both Place & Event Settings for custom fields and simple save any ONE field, this will rebuild the sort order which can stop some fields showing on the edit pages.
  8. Check over your listings to make sure they converted properly.

If the conversion worked for your site you can then either reverse the steps for creating the dev site to copy the dev site to the main site or simply carry out the conversion on your live site (assuming you have another backup), if copying the dev site over be sure to search the DB for any dev site urls. You might want to setup your theme and setting on your dev site first before making it live, and remember to setup your new payment settings etc.

If you changed some settings on your dev site and now your live site seems to be pointing to them you can use a plugin called Better Search Replace to replace your dev site urls to your live site urls:

If you had existing PayPal subscription payments (recurring) you will need to add this snippet of code to your child theme functions file to be sure the PayPal payment updates your listing ok.

As always if you have any problems please open a new post on our support forum.


The GeoDirectory Team

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us