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?
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:
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.
When you find that you have to edit that property and in the JSON file you need to find the string redirectURI :
So, you need to change that to point to your new site:
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.
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
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:
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.
When you find that you have to edit that property and in the JSON file you need to find the string redirectURI :
So, you need to change that to point to your new site:
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.
Let me know if this helped!