The only way to change the redirect URI is editing it in your database.
Please access your database, and find the wp_options table:
It is possible for this table to have different prefix than wp_ 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 finish this please check is the same URL from “Redirect URI” field and on "Create OAuth client ID" section in field Authorized redirect URL's.
so, we wanted to integrate google calendar. clientid and secret all fine.
But the URI redirect is not correct... but i cannot change it??? Cant type in that field, is that a bug? does it need to be changed somewhere else?
kind regards, Dennis
Hello Dennis,
The only way to change the redirect URI is editing it in your database.
Please access your database, and find the wp_options table:
It is possible for this table to have different prefix than wp_ 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 finish 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!