Moving X theme from a subfolder to root folder

Hi Guys,

I was delveloping a site in a subfolder www.youngstrainingandconsultancy.co.uk/devsite and wanted to make it live so I copied it to the root folder www.youngstrainingandconsultancy.co.uk updated the locations in wordpress but now I can’t edit it with cornerstone and the slider is missing.

I tried reinstalling wordpress in the root, should I reinstall your theme?

Sorry although I’ve been developing sites for 10 years this is my first wordpress site.

Colin

Hi Colin,

Thank you for writing in, while the moving of folders/files from sub-folder to root can be straight forward, there is another step that you need to do on the database to make sure all www.youngstrainingandconsultancy.co.uk/devsite will be replaced with www.youngstrainingandconsultancy.co.uk

Please keep a backup copy of your database and install a Better Search Replace plugin, and do the following 2 steps.

1) replace http://www.youngstrainingandconsultancy.co.uk/devsite -> https://www.youngstrainingandconsultancy.co.uk
2) replace http:\/\/www.youngstrainingandconsultancy.co.uk/devsite -> https:\/\/www.youngstrainingandconsultancy.co.uk

The classic find and replace script will not gonna work, so please use that plugin.

You can also follow the Migrate Cornerstone Data from Site to Site guide provided here, but instead of migration, you’re just going to create a new database (with updated URL) for your site, and change the database credentials on the wp-config.php file.

Let us know how it goes,
Cheers!

HI Guys,

We are nearly there but although my license was activated, having moved to the root folder it wont let me activate it in the root. I’ve unlocked the license and told it the location is https://www.youngstrainingandconsultancy.co.uk/ it says it’s not a valid purchase code.

Hi Colin,

Thanks for writing in!

I can see you are using a different theme not X theme. Cornerstone is activated in your site but you are trying to validate cornerstone with X license. Thanks why it’s not happening.

Please install X theme and validate it.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.