Okay
  Public Ticket #2423442
Change of domain
Closed

Comments

  • Robert Clarke started the conversation

    Good morning,

    We had a project for a client using our subdomain last year, they have renewed the project but have decided to take a new domain. The old site has been deleted and is no longer accessible.

    For convenience, we used a backup to reinstall the site on the new domain. Eveyrthing is working perfectly, however for the Google Calendar integration it still shows the old subdomain as the authorised redirect and this is not editable.

    Can you please let us know how to change this so we can fully use the integration?

    Thanks,

    Robert

  • [deleted] replied

    Hello Robert, 

    You need to change the URI in your database. Please be careful when you update this table.

    Please go to your database, and find the wp_options table:

    6172199762.png

    In your case it is possible to have different prefix but it will end with options, so something like your_prefix_options. 

    Then you have to find option name amelia_settings in this table.

    1791739968.png

    When you find that you have to edit that property and in the JSON file you need to find the string redirectURI :

    2773446103.png

    So, you need to change that to point to your new site:

    2131454090.png

    So basically you need to replace  youroldsite.com with yournewsite.com  and it will be shown in Google settings properly. Please note that if you use https you will need to update it also in redirectURI option.

    When you finished this please check is the same URL from “Redirect URI” field and on "Create OAuth client ID" section in field Authorized redirect URL's.

    7826777834.png

    Let me know if this helped!