Okay
  Public Ticket #2703730
Site url change
Closed

Comments

  •  1
    Ben started the conversation

    Hi


    We changed the url from dothedamnthing.us to therapylikenoother.com as we feel the first name was effecting our sales.

    I have migrated the site to the new url and kept the old site live so she can keep trading with her current clients.

    We will delete the old site when the migration is complete

    The problem is the redirect URLs for the former domain are still referencing the old site.

    I have changed the domain name in the company settings but the redirect url has not changed in the integration settings and it is un editable. 

    are you able to help me please?


    Thanks


    Ben

  •   Ben replied privately
  •  1
    Ben replied

    So I have updated url in the google console, but will the changes take effect properly if the url is displaying the old site in the settings?

  •   Ben replied privately
  • [deleted] replied

    Hi Ben,

    thank you for contacting us; I apologize for the delayed response, we do not operate on weekends.

    There are two ways to change the URI. One is by inspecting the page, and the other one is by going through the database.

    1. Open Amelia Settings/Integrations/Google Calendar (or Outlook calendar; or both) and right click/inspect on the Redirect URI field. Then, modify the highlighted line and delete "readonly="readonly"". After that you will be able to change the URI right there, through settings.

    9967058169.png

    That's it, just save the new settings.

    2. More complicated method - You'll need to go into your database, but please be careful when you update the table, because if you delete or add anything else, it can cause the plugin not to work properly.

    When you access your database via PHPMyAdmin (or some other tool), access wp_options table:

    6172199762.png

    It is possible that your prefix is not "wp_", but something else, so if that is the case, please look for "your_prefix_options" table.

    When you access it, you can search through the column "option_name". Search for the term "amelia_settings":

    1791739968.png

    When you find that, you need to edit the property under "option_value" column and find the string "redirectURI". It will look something like this :

    2773446103.png

     So, all you need to do is replace it with your new website's URI:

    2131454090.png

    So basically you need to replace newsite.com with youroldsite.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. Please don't remove the escape characters ( \ ), it needs to stay in \/\/ format

    When you're done with this, please check if the URL from “Redirect URI” field and on "Create OAuth client ID" section are the same:

    7826777834.png



  •  1
    Ben replied

    Thank you so much Ivana!  did it the fist way


    Cheers!


    Ben

  • [deleted] replied

    Great, Ben,

    thank you for letting me know!

    If you have any further questions please feel free to contact us.