Change of URL triggers update in database

For Installatron Sales: sales@installatron.com
jas8522
Posts: 57
Joined: Sat Jul 24, 2010 4:25 pm

Change of URL triggers update in database

Postby jas8522 » Sat Sep 02, 2017 11:07 am

Hey there,

This is a feature request.

When changing the URL that an app is installed to (such as is necessary after the domain has changed), it would be great if Installatron could do a quick Find/Replace in the database for all instances of the old URL and update them to the new URL.

Currently, a domain change looks like this for WordPress:

1. Change domain in control panel
2. Change URL in Installatron (so it knows where to find the app)
3. Find/Replace URL in app database manually

I'd like for #2 to automatically complete step #3 as well. This way, ultimately, I might be able to get a hook built for the control panel that ensures that #2 is run automatically when #1 happens, making this whole process much simpler for the end user.

Thanks, as always, for considering.

jas8522
Posts: 57
Joined: Sat Jul 24, 2010 4:25 pm

Re: Change of URL triggers update in database

Postby jas8522 » Thu Sep 28, 2017 9:45 am

Update: it appears Installatron *does* do this already for us! The problem is that it seems to miss the upload_path value in the wp_options table. Ironically I *think* Installatron sets up that value for us in the first place when the site is installed (normally it's a relative path as default, I think?)

It would be great if, when changing the domain, Installatron could simply remove any set upload_path in the DB, as the default value seems to work fine.


Return to “Suggestions and Feedback”

Who is online

Users browsing this forum: Baidu [Spider] and 4 guests