Skip Navigation

[Resolved] Will I need a new site key if I move the site to a new folder?

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 10 replies, has 2 voices.

Last updated by GeoffP4162 3 years, 12 months ago.

Assisted by: Christian Cox.

Author
Posts
#2077501

I registered the plug-in for the site: hidden link , which is a development area,
but need to move this website into the main directory: hidden link

Will this effect the plug-in or site key I'm currently using?

Just want to make sure Toolset still works after the website is moved.

Thank you!

#2078441

Hi, after the site is moved you'll need to delete the existing site key from https://toolset.com/account/sites, unregister the software in wp-admin > Plugins > Add New > Commercial tab, and register again there, using a new site key created for the permanent URL. Toolset will continue to function in both environments during this process with one main exception - automatic plugin updates are not available on an unregistered site. Until you register the permanent URL, you must update the plugins there manually by downloading the latest versions from https://toolset.com/account/downloads, deleting the old versions from wp-admin > Plugins > Installed Plugins, and installing the new versions in wp-admin > Plugins > Add New.

Other than the automatic update process, your sites at both URLs should be unaffected while they are unregistered. Hope this helps clarify things. Feel free to open tickets as needed during your migration process.

#2078937
wont load view or save.jpg

Thanks Christian,
I followed your steps and unregistered the software, registered again and created a new site key. Looked like everything worked however, when I tested this page -
hidden link and clicked on the search button, it went to the old ".../dev" page (hidden link) and when I clicked on the agent results underneath, they still had the /dev addresses too. (hidden link).

I checked all the permalinks for posts and pages and they do not have the /dev address. Do you know why Toolset would still be referring to these? Also, when I tried to update a link on the "local-agent-search" page, the view will not load, (it just pulsates) and the page won't update if I click the blue update button.

Appreciate your help!

#2078985

Not sure if this is related, but I noticed the message about there being a more recent version of the post, so I restored it, and now it says, "The backup of this post in your browser is different from the version below." So I restored again, but the page will still not save and continues to show the message.

#2079343

I checked all the permalinks for posts and pages and they do not have the /dev address. Do you know why Toolset would still be referring to these?
Check in wp-admin > Settings > General to confirm the site's URLs have been updated correctly. Also check all the hard-coded links in your content. For example, I can see in the screenshot you have at least one hard-coded link that includes the dev URL in the Request to add an agent link at the bottom of the screen.

A good site migration tool like Duplicator or All-in-One WP Migration can take care of automatically migrating URLs in your site's content like these, so you might consider migrating with one of these tools for consistency.

Also, when I tried to update a link on the "local-agent-search" page, the view will not load, (it just pulsates) and the page won't update if I click the blue update button.
Not sure about this, but it could be related to site URLs not updated correctly in the main Settings > General page. If you continue to have this problem, we can take a closer look.

#2079715

Thanks Christian,
I used a search and replace tool and all instances and variations of "/dev" have been removed from the sql database. Toolset pages are still referring to that link even after refreshing browser. I checked the general settings in WP and they are set to just improvemycare.com. It's a mystery!

#2079797

Okay odd...maybe there is something stuck in the cache or block configurations for this View. I assume you are using the block editor to display the search and results on different pages, is that correct? If so, the next suggested troubleshooting step is to edit the page or template containing the search filters. Select the top-level View block and in the sidebar settings General panel, turn off caching for this View. Save and test again.

If that does not solve the problem, edit the View block again and adjust the settings to display both the filters and results temporarily. Save the page, and refresh the editor page in wp-admin. Then modify the View block settings again to display only the filters, and choose the page where you want to display the results again. If the Local Agent Search page is already selected, try deselecting that page or choosing something else temporarily, then choose the Local Agent Search page once again to reset this selection.

If these steps do not solve the problem, I will need to take a closer look.

#2082057

Hi Christian,
Yes, I set it up to display search and results on different pages. I cannot edit and save pages any more.
I tried to start over and create a new page and add a new view, but it won't let me, nor will it let me publish the page. I can however, publish a page with just a title, but not with anything using Toolset.

The older /dev site works fine and pages can be edited and saved. This means there are no conflicts with existing plug-ins. The only thing that is different between the new site and old site is:
1. We removed all references to /dev in the new database.
2. We deleted the old site key and added a new one.
3. The new site displays "The backup of this post in your browser is different from the version below". What does this mean? The old site does not have this message. Restoring the backup does not work because the page cannot be saved.

Thanks again

#2082075

In addition to my recent post, I was thinking - since I can't even create and place a view in a new page, could I just deactivate the plug-ins and then reactivate? Or what if I uninstalled the plug-ins and reinstalled and re-entered the site key? Would that affect the pages already created? Thanks.

#2083297

3. The new site displays "The backup of this post in your browser is different from the version below". What does this mean?
It usually means you may have been editing this post in the browser and left the editor page without saving those updates. The browser saved those updates in memory, but the updates do not match the latest version stored in the database. Usually this does not indicate a problem that you need to resolve.

In addition to my recent post, I was thinking - since I can't even create and place a view in a new page, could I just deactivate the plug-ins and then reactivate? Or what if I uninstalled the plug-ins and reinstalled and re-entered the site key? Would that affect the pages already created?
No it should not affect the existing pages, but frankly at this point I don't think it would help. I would start over by re-migrating the site from the original location using a different migration process, because I think you've got some corruption in the database that is causing systemic problems in the migrated site. Is it possible to clear the new site's database and migrate again? I would use a tool like Duplicator or All-in-One WP Migration installed on the original site, as they are designed to help prevent issues like this during a migration. Some data in the database is stored in serialized format, and a simple find-and-replace script run on the database can break those structures. I'm afraid this has happened here, and I think a fresh migration will help solve these problems.

https://wordpress.org/support/article/moving-wordpress/

If that's not possible, then yes it's certainly possible to uninstall and reinstall Toolset plugins, but I don't think that is going to solve the problems you are experiencing now. I think you've got some issues in the database that were introduced during the migration, and I don't think the Toolset plugins are contributing to the issues you are experiencing now, nor is the registration key.

#2086873

I wiped everything out and used the Duplicator plug-in and it worked.