InMotion Hosting Support Center

Please be aware that this tutorial is made for single site installations. If you are using the multi-site option, then using this method of duplication creates TWO SEPARATE MULTISITE installations. When you duplicate a multisite installation, the duplicated structures and data will fall under the respective multi-site installation database and WordPress files. This can be confusing, if you are not familiar with the differences between multisite and single-site, please only use these directions for duplicating a single-site WordPress installation - which is what they were originally intended to do.

WordPress version 4.4 has been released! Click here for more information on the updates and features in WordPres 4.4!

Many people want to have a duplicate Wordpress site for testing or development purposes. There are several steps to take to achieve this outcome. This tutorial will outline the steps for making a copy of a Wordpress site for testing. Click here to learn more about WordPress Hosting.

Copying a Wordpress site from one location to another

  1. Log into your cpanel
  2. Create a subdomain. that is used for accessing the testing site. For example testsite.example.com.
  3. Go to your File Manager. Make sure that you select Show Hidden Files when you select the directory to be opened.
  4. Copy your Wordpress Files from your current directory to the document root directory created for your subdomain. The root directory usually is the same name as the subdomain that was created. Also, click in the folder that contains your WordPress installation and copy the .htaccess file. This file needs to reside in the same location where you have copied your WordPress files or at the root of the new location. The .htaccess file may contain important references to your current Wordpress installation. Depending on your installation setup, you may need to look for this file in the root of the account. For example, InMotion Hosting normally uses a document root of "public_html." Check this location for the .htaccess file if you did not find one in the original installation location for your WordPress site.

    duplicate-wordpress-site-for-testing-select-all 4.1 Select all the Wordpress files.


    Important! When selecting all your Wordpress Files, make sure the folders for the subdomains/addon domains, or any other non Wordpress folders, are not selected. After selecting all, hold the Ctrl key on the keyboard and click the folders that are not being moved so the are not highlighted blue before copying the files. Otherwise, there will be duplicates of those folders in the testing site.

    duplicate-wordpress-site-for-testing-copy-files 4.2 Click Copy at the top right side of the File Manager


    duplicate-wordpress-site-for-testing-click-copy 4.3 Type the path to the Document Root folder for the Sub Domain.


  5. Create a database This will be used to separate the test site from your main site. If you use the same database for the test site, the live site will reflect the changes that are made on the test site. Importing the existing database to the test site database will prevent this.
  6. Export your current database
  7. Import your Database to the new database you created.
  8. Configure the Test Wordpress wp-config.php file for the test site. This needs to be done or the test site will use the main Wordpress site database.
  9. Change the site URL for the test site - The site URL is stored in the Wordpress database. in order for the site to load as a test site, the site url will need to be changed to the subdomain url. For example http://testsite.example.com.
  10. Correct image links - Lastly, ensure that image links in your pages and posts are also changed. These are in the database and not connected to the site URL so they will need to be changed separately.

This concludes the tutorial for duplicating your Wordpress  for testing.

Support Center Login

Social Media Login

   
Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Problem in uploading test website
Error code above site
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
n/a Points
2014-07-06 11:44 pm

Great tutorial!  So after the "test site" is complete how do you copy it back over to replace the original site?  Do I just follow essentially these same steps again?  Thanks!

Staff
9,968 Points
2014-07-07 3:49 am
Hello Joey,

I would recommend that you copy all of your WordPress files in the main /public_html directory to a new one such as /wordpress-backup. Then move all the WordPress files from the sub-directory WordPress installation into the /public_html directory.

Once that is complete, you now have the same core WordPress files in your /public_html directory that were in your /public_html/wordpress directory. The wp-config.php file from that sub-directory installation is pointed still at the new database you crated for the copy site as well.

You will then want to change the WordPress address directly in the database, and modify the siteurl and home rows in the wp_options table to read just your main directory instead of the sub-directory address.

That should be all there is to it. You might also find my guide on how to easily move WordPress helpful in the future, especially the 2nd video and steps. In your case of moving from a sub-directory to the main root would get to skip the exporting and importing the database section, as well as modifying your wp-config.php file, as that's not necessary when doing a WordPress move on the same server.

Please let us know if you had any other questions at all.

- Jacob
n/a Points
2015-12-29 4:53 pm

Great tutorial, it worked for me.

Kudos to u.

 

Initially i got an error, error in database connection, then i checked that i made mistake in writing the name of the database in code edit for test database.

 

everything is working smooth.

 

I took the back up because i wanted to change the name of my website ****.com/wp  to ****.com

 

First step is done, hoping to get a good tutorial like this to help me in doing that too.

 

Thanks Again :)

n/a Points
2014-09-11 5:04 pm

Unfortunately, this did not work for me.  Followed instructions carefully and appears as if everything is moved over, but when i go to the new URL (subdomain), I am told the page is unavailable or does not exist.  Thoughts?

Staff
33,570 Points
2014-09-11 5:53 pm
Hello Sean,

Sorry to hear that you're having problems with duplicating your site. It would help to be able to see your URL or account, so that we can take a look to see what you've done. Instead of us guessing at the problem, please provide us a little more information and we would be happy to look further into the issue for you.

Kindest regards,
Arnel C.
n/a Points
2014-10-02 7:07 am

Http://josh.thekoreanwave.org

Http://thekoreanwave.org/josh

Warning: define() expects at least 2 parameters, 1 given in /home/content/10/7441410/html/josh/wp-config.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/content/10/7441410/html/josh/wp-config.php:28) in /home/content/10/7441410/html/josh/wp-includes/functions.phpon line 2973

Error establishing a database connection

Please help

 

Thanks in advance.

 

Josh

Staff
11,186 Points
2014-10-02 9:39 am
It looks like you made an error when editing your wp-config.php file on like 28. Could you provide exactly what you have on that line?
n/a Points
2014-09-28 8:55 pm

Awesome tutorial. This really helped me out. Thanks!

And Sean, I had the same issue initially. Turns out I copied all the files to the wrong test folder. It's case sensitive, so make sure the folder is public_html/Test not public_html/test or vice versa.

Don't know if that was your issue, but I got hung up because of that. Best of luck!

Jamon

n/a Points
2014-10-02 4:37 am

It worked for me. How do i acces wp-admin to make the changes i want and keep the live site working

Staff
38,290 Points
2014-10-02 9:00 am
Hello Tejas,

If you moved your site to a subfolder, for instance, from example.com to example.com/test, then the wp-admin URL for the test would be example.com/test/wp-admin.

Kindest Regards,
Scott M
n/a Points
2014-10-06 10:14 pm

great tutorial, although once i'm done setting up my test site and try to log-in I receive the following error. Any ideas?

Fatal error: Cannot redeclare jetpack_is_mobile() (previously declared in /home4/vince06/public_html/wp-content/plugins/jetpack/class.jetpack-user-agent.php:3) in /home4/vince06/public_html/test/wp-content/plugins/jetpack/class.jetpack-user-agent.php on line 59

Staff
11,186 Points
2014-10-07 7:52 am
It appears that your site is attempting to load the Jetpack plugin from both your testing environment as well as your main site, on the same site. I recommend checking through your wp-config.php file as well as your database of your testing environment for any old references to your main production site.
n/a Points
2014-10-07 9:48 pm

I searched for my website through my php admin and changed all the websites to the test version within the wp options of my test site. I also went into the config (codex) of my website to see line 59 (assuming that is what its refereing to) and tried removing it, still same error. I just started my website, www.vincenzocutrone.com and have limited coding and web creation knowledge. The test site is www.test.vincenzocutrone.com. I also tried de-activating Jetpack from the main site, still getting the error. Is there something else that i'm doing wrong?

 

Thanks again for the help, I apologize for my lack of knowledge on the subject matter.

Staff
33,570 Points
2014-10-08 9:46 am
Hello Vince,

Sorry to hear you're still having the problem with Jetpack. If you're still seeing that error, then it's most likely because that plugin is still loaded somewhere on that site (or at least a piece of it is). You need to remove it completely in order to clear the error. If you need more information on troubleshooting plugins, check out troubleshooting WordPress plugins. You will need to remove Jetpack from your duplicate install.

If you are a customer of InMotion, we can also look at the files directly, but we need your account info and a little time to work on your web site. I hope this helps you to move forward. Please let us know if you have any further questions or comments.

Regards,
Arnel C.
n/a Points
2015-04-05 2:35 am

Hi, I got this exact same error, was there a solution found for this problem with jetpack?

Many Thanks

n/a Points
2014-10-12 12:10 pm

Hi there, thanks so much for the vid. Pretty easy to follow. My website has the suffusion theme. However, when I go to the test site, a lot of the suffusion styling isn't there - and there are some text widgets missing in the left hand column? Can you please advise?

www.cleaningafrica.co.za and 

www.test.cleaningafrica.co.za 

Many thanks,

Alison

 

Staff
11,186 Points
2014-10-13 11:29 am
Depending on how your theme is coded, you may have additional hard-coded links in there which can cause issues. To check for this, you may do a full search on your database within PHPMyAdmin by clicking the Search button up top and entering in your domain.
n/a Points
2014-10-27 4:29 am

Great tutorial.

If i create my duplicate website in a subdomain, will my username and password to access wp-admin be the same as the root domain?

I'm afraid that Google will read my test website as duplicate content. How can i prevent Google from reading my test website?

 

Ori

Staff
24,082 Points
2014-10-27 8:55 am
Hello Ori,

Thank you for your WordPress question. Yes, your duplicate website will use the same username and password as the original. You can always change WordPress password, and username.

You can stop Search Engines from crawling specific folders, by using a robots.txt file. For example, you could stop them from searching the folders containing your duplicate site.

You could also password protect the folder containing the duplicate site, then it will only be accessible via username and password.

Thank you,
John-Paul
n/a Points
2014-11-09 8:28 pm

Hi All,

THanks for posting this tutorial. It is very helpful and easy to follow.

I almost got it right however I must have meesed sth up because it does not entirely work.

 

My original site:

example.mydomain.eu available under www.example.pl

My test site:

mydomain.eu/exampletest

 

When I enter this URL: mydomain.eu/exampletest/wp/wp-admin I can actually log into it.

However when I want to bring it up: mydomain.eu/exampletest/wp it redirects me to the original www.example.pl

I have now run out of options as to what I am doing wrong.

Any help will be greatly appreciated.

 

regards,

Peter

Staff
33,570 Points
2014-11-10 3:12 pm
Peter,

Thanks for the question. If your installation of WordPress was going to a particular path but it's a sub-directory under another website installation, then you need to make sure that none of the applied re-direct rules are applying to your current URL. Re-direct rules are generally found in the .htaccess file. Since you have not provided us any information on your account we cannot check this for you. You can see an example of a re-direct by going to this article. Click on the link for more help on finding and editing the .htaccess file, please.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.
n/a Points
2014-11-23 2:03 am

thanks for a really good tutorial, very clear instructions. I've followed the instructions and the test site is there but it's not showing the theme installed in the original site. I'm also not sure how to get in to the dashboard on the test site

url is test.*************.com.au (original is *************.com.au)

Staff
24,082 Points
2014-11-24 9:53 am
Hello SIri,

Thank you for your question. Please make sure you have completed Step 9, which changes the domain to the new test URL.

This should fix the styling of the site and allow it to resolve at the new test URL. For example: https://test.*************.com.au

Then, you would login to the dashboard using the test URL, for example:
https://test.*************.com.au/wp-admin

Thank you,
John-Paul
n/a Points
2014-11-27 12:17 am

It's working :)

Thanks for your help

2014-11-27 12:37 am
Thanks John-Paul, I can see the site with proper styling now but I can't seem to get into the dashboard. I tried redirecting in the general settings (after I had done the config) to see if this would work and now i can't get in as it won't recognise my password. o'oh :/
2014-11-27 12:47 am
Ha the site locked me out! all good now, back in and can get into the test backend, phew :)
n/a Points
2014-11-28 1:12 am

Hi John-Paul,

My site is working, I can see both the main site and the test site just fine and I can get into the backend of the test site, but I can't seem to get in to the backend of the main site anymore. I really need to be able to get in there to add content etc to the main site, the test site I was setting up as a play and learn area so while I do want to be able to try stuff out there, I want to be able to add to the main site as well. Is there a way to switch the dashboard back to the original site dashboard? (there's already stuff I cant access because it was posted after I copied the database over to the test site).

Thanks for your help

Siri

Staff
24,082 Points
2014-11-28 11:31 am
Hello Siri,

Thank you for contacting us today. We are happy to help, but will need some additional information information.

What happens when you attempt to login to the backend of the main site?

Are you getting any errors? What are they?

Thank you,
John-Paul
n/a Points
2014-12-01 3:58 am

Hi John-Paul,

Mostly I'm not getting errors, it loggs in but redirects to the test site backend. I've noticed too that the website pages seem to be opening as either the original site or the test site, mostly it is redirecting to the test site. I was thinking about retracing my steps and undoing the setup of the test site up to adding te database then trying again. What do you think?

Siri

Staff
38,290 Points
2014-12-01 12:03 pm
Hello Siri,

Undoing and retracing would be what I would do. There should be no effect on the main site during or after the process, so it is likely that something got changed that maybe shouldn't have. That should reset you so you can try again. Believe me, we have to do that all the time so do not be afraid to do that when needed.

Kindest Regards,
Scott M
n/a Points
2014-12-02 4:56 pm

Thanks for the tutorial.  Unfortunately, I have made a mess of it.  I attempted to carefully follow each step, but keep getting a 'Server Not Found' message (http://test.mcfarlandeye.com/).  In my attempt to go back through the steps and correct anything I may have missed, I now have created a messy file directory that I just need to delete. How can I delete and start over?  Any ideas on why I'm receiving this message?

Thank you!

Sara

Staff
11,186 Points
2014-12-02 5:08 pm
It sounds like the subdomain you are referring to has not been fully created. Be sure you create the subdomain as well as allow up to 24 hours for propagation.
n/a Points
2014-12-02 5:10 pm

Thanks, Jeff!  I'll walk away from it for now and check back tomorrow to see if it has propogated. 

n/a Points
2014-12-04 5:09 pm

Hi All,

aplus.net is my hosting site and my control panel is not as user-friendly; also the domain name is a bunch of numbers and letters.  Does anyone know how to clone a wp site in the aplus environment?

Thanks

Staff
24,082 Points
2014-12-04 5:19 pm
Hello YB,

Thank you for contacting us today. You can still make a copy of your WordPress site without utilizing the cPanel tools.

I found a helpful post in the Official WordPress forums, where they discuss Copying a WordPress site.

I also found an older post specifically covering Aplusnet, but I am not sure how accurate it still is.

Thank you,
John-Paul
n/a Points
2014-12-05 1:27 pm

If only it was that easy.  Aplus doesn't have tutorials nor do they provide cloning assistance over the phone.  I think... I need... to switch hosting companies.

Thanks

Staff
24,082 Points
2014-12-05 2:29 pm
Hello YB,

Sorry to hear about your experience. Feel free to reach out to our Sales team, and discuss if we can meet your needs.

We would be happy to help you migrate your WordPress site to our servers.

If you have any further questions feel free to post them below.

Thank you,
John-Paul
n/a Points
2014-12-13 2:12 pm

Thanks for tutorial.  I tried following the exact instructions to set up a subdomain but I get the following error when I try and access the test site:

"The server at '...' can't be found, because the DNS lookup failed."

What have I missed?

Staff
38,290 Points
2014-12-15 9:29 am
Hello Laura,

If you have followed the instructions on creating a subdomain properly, you should be fine. If you tried to access it just after creating the subdomain you may get the error. This is due to propagation time. After a bit of time, (I'd give it up to 4 hours) it should work for you.

Kindest Regards,
Scott M
n/a Points
2015-04-13 2:25 pm

Hi, I am having the same issue with a client's site. I created the subdomain three days ago, and I am still getting a DNS lookup failure error. Ideas?

Staff
33,570 Points
2015-04-13 2:53 pm
Hello Amanda,

I'm sorry you're having the problem with the subdomain. However, you have given us NO information about your domain name, subdomain, or the exact error message you're getting. If you could provide us more details about the issue, then we would be happy to investigate the issue further.

Regards,
Arnel C.
2015-04-13 2:58 pm
Hi again,

the subdomain is drlochhead.idneuro.com.

the error is : This webpage is not available
The server at drlochhead.idneuro.com can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Google Chrome from accessing the network.

Thank you,

Amanda
Staff
38,290 Points
2015-04-13 5:34 pm
Hello Amanda,

If you have created the subdomain and it is still not propagating through the DNS, you will want to conact our Live Support team to have them do a push for you. Sometimes DNS just doesn't push out like it should.

Kindest Regards,
Scott M
n/a Points
2014-12-22 5:27 pm

Hi,

Great tutorial, thanks!

Everything seems to be working except when I try and install a new plugin I'm getting the following error(has happened for 3 plugins):

 

Downloading install package from https://downloads.wordpress.org/plugin/wordpress-automatic-image-hotlink-protection.zip

Unpacking the package…

Installing the plugin…

Could not create directory. /home/getnat6/public_html/staging/wp-content/plugins/wordpress-automatic-image-hotlink-protection/

Plugin install failed.

 

Any thoughts? Thanks!!

 

Staff
11,186 Points
2014-12-22 5:32 pm
It sounds like your wp-content folder has incorrect permissions. Set your permissions for the wp-content folder as well as the plugins folder inside it to 755 and that should do the trick.
n/a Points
2014-12-22 6:09 pm

Thanks for the quick reply Jeff. Apparently the plugin folder didn't get copied to the new test directory... Not sure how that happened, so I added the folder. But now when I add a plugin the admin section goes blank and I have to use cPanel to manually delete the plugin folder before I can access the admin section... I must have messed something up...

Any thoughts?

Thanks again

Staff
11,186 Points
2014-12-22 6:12 pm
Ensure the permissions are correct, and if it still gives you issues, try deleting all of the content from the plugins folder. This will ensure that any broken plugins are completely deactivated.
n/a Points
2014-12-27 1:46 pm

I created my testsite duplicate of my domain. All works fine except when I set the static home page in my theme customization settings it changes both my domain and testsite home page. Not what I want and I have not found anything online suggesting a fix for this.

Temp URL for my domain is http://198.46.81.188/~sfxcat5/      and I am using Word Press 4.1 and the Avada Theme package.

Does anyone have any suggestions? Thanks.

Staff
33,570 Points
2014-12-29 2:07 pm
Hello Stevejal,

It sounds like your installation for the temp is in the same place as your primary domain. By default, the primary domain would use a URL (e.g. yourdomain.com), but the files all get saved into the PUBLIC_HTML folder. If you were using the temp URL, the files all go to the same location (public_html). So, if you want to separate the installations, you would need to have one of the WordPress installs set in a subfolder or a different URL. For example: http://198.46.81.188/~sfxcat5/test. At this point though,you're referencing the installations with two different URLS, you're using the same files. Try using a different install directory with your test install, and then you shouldn't have the problem that you're currently seeing.

I hope this helps to answer your question, please let us know if you require any further assistance.

Kindest regards,
Arnel C.
n/a Points
2014-12-29 9:30 pm
this already perfect with youtube steps by steps demo :)
n/a Points
2015-01-05 10:13 pm

Hi there,

Thanks for the great instructions! I'm with BlueHost. I followed everything but in the end the test site turned out to be the WP default theme, not a copy of my WP theme. What did I do wrong?

Thanks again!

Staff
38,290 Points
2015-01-05 10:15 pm
Hello Annie,

Check and see if your theme is available to select from the dashboard.

Kindest Regards,
Scott M
n/a Points
2015-01-09 6:22 am

Hi, great tutorial, worked a charm :)

Where can I find the tutorial that reverses the process? 

Thanks,

Dave 

Staff
38,290 Points
2015-01-09 12:17 pm
Hello Dave,

Reversing the process would simply be removing the testing site. Is that what you mean?

Kindest Regards,
Scott M
n/a Points
2016-01-29 2:32 am

I followed your directions and worked like a charm!  Even for a never ever Website/wordpress player.  So i created my test.domain.com site and our old/live domain.com site is still going.  Now i think i am ready to go load our test site onto our old domain.com site.  I don't need to keep anything from the old site.  Everything i have on the test.domain.com site is what I would like to keep.  

How do i do this?  Thanks in advance

Staff
10,077 Points
2016-01-29 9:57 am
Hello Darcie,

I am glad you got everything working, which is awesome. You can move the wordpress files to your root directory within your file manager.

Best Regards,
TJ Edens
n/a Points
2015-01-11 12:05 am

Hey guys

I followed the video closely and it was going fine until about 4:50 on the video.  I couldn't export anything because there was nothing in the test folder.   "No tables found in database."

I'm using my main account url, so am wondering if this was the issue, because I noticed all the other domains had folders inside this folder in file manager .

any suggestions?

Thanks,

Cara

Staff
38,290 Points
2015-01-11 10:17 am
Hello Cara,

If you received "No tables found in database." you may have been trying to export the wrong database. The original database has at least 10 tables in it, so you should not get that error when exporting the source database.

As for the other domain folders being under the public_html folder, this is perfectly normal structure for the cPanel, so nothing to worry about.

Kindest Regards,
Scott M
n/a Points
2015-01-14 4:47 pm

Hi, just wondering: Can I use the same steps to test locally with WAMP?

Staff
33,570 Points
2015-01-14 11:11 pm
Hello Luan,

WAMP was made so that you could emulate running a web server on a Windows server. If you are running WAMP, then you should be able to do the steps for duplicating a WordPress site. I hope that answers your question. Please let us know if you have any further questions or comments.

Regards,
Arnel C.
n/a Points
2015-01-19 5:25 pm

This is a really useful tutorial but I have a problem: When I try to login at test.mydomain.com/wp-login.php, the login submission takes me to www.mydomain.com/wp-admin.

I checked every www entry in the database and changed to 'test'. Any help would be hugely appreciated.

Staff
38,290 Points
2015-01-19 5:34 pm
Hello Dan,

You can modify the wp-config.php file and that should cause it to work properly. Then you can formally check and set them if needed from inside the admin dashboard.

Kindest Regards,
Scott M
n/a Points
2015-01-20 6:19 am

Thanks Scott, but after following the steps in the link you provided I can now no longer log into my live-site wordpress dashboard, despite only altering my subdomain/subfolder test wp-config.php file :(

n/a Points
2015-01-20 8:51 am

Please ignore my last comment - I have it working now. Thank you for your help Scott - editing the config file as suggested worked!

n/a Points
2015-01-27 2:32 pm

Scott,

If I am using a wordpress site, can I just "clone" the site to a subdomain using a program or plugin like ManageWP...and then go from there?

Thanks!

Don

Staff
11,186 Points
2015-01-27 2:46 pm
You can indeed clone the site using another program such as ManageWP or BackupBuddy.
n/a Points
2015-02-16 3:25 pm

I am getting a DNS error when I try to pull up my subdomain.

Staff
24,082 Points
2015-02-16 4:20 pm
Hello Heather,

Thank you for your question. We are happy to help, but will need some additional information.

What DNS errors are you getting?

Is this a new subdomain? If so, keep in mind new domains/subdomains can take up to 24 hours to update globally (propgate).

Thank you,
John-Paul
n/a Points
2015-03-02 11:24 pm

Hi,

Excellent tutorial. I did create 2 new subdomains for 2 new websites. Everything is working fine, able to access, able to login etc etc. I have used search&replace, to replace URL's to new locations including images, attachments etc. I have the below issues :

1) Image links broken : Though files and folders are there as per the locations required, still image display is not happenning.

2) Some of the plug-ins are broken/not working : Though files/folders exist for the respective plugins and there and ACTIVE.

3) Plugin icons not displaying : Same problem like (1), though all files/folders exist.

Can you help in this regard.

Staff
10,077 Points
2015-03-03 12:13 pm
Hello Rama,

I have found a wordpress forum thread that goes over the same exact issue you are having.
https://wordpress.org/support/topic/how-to-change-image-urls-after-wp-move

As for the plugins I would suggest uninstalling then re-installing them.

Best Regards,
TJ Edens
n/a Points
2015-03-11 5:24 pm

Very helpful tutorial. Followed it and was able to get a duplicate test website, up and running, in no time on a separate sub domain.

the only problem is that I lost the customized fonts. They do appear in the original wp website but not on the duplicate.

 

Any hints or pointers/suggestions to overcome this and make the fonts show up in the new sub domain duplicate the same way they are in the original version ?

Staff
38,290 Points
2015-03-16 10:41 am
Hello NASinc,

You may want to check for css for the pathing. That may be the issue with the fonts.

Kindest Regards,
Scott M
n/a Points
2015-03-12 4:19 pm

Hi, Great video! All is working perfectly on new test site except abiltiy to upload and display images. I am able to see all of the images in the media library that were on my production site prior to copying it, but when I upload new images, I only see an icon for them. In media library, if I click to edit the image, it will load the full image but once I save it is back to just the icon.

I am wondering if it is my theme or if I missed something in the duplication process. I am using WP 4.1.1 and Customizr theme. 

 

Staff
38,290 Points
2015-03-16 10:44 am
Hello MK,

Does the image upload work with the site you duplicated from? Have you changed the theme since you duplicated? If so, have you tested the by resetting it to the original theme?

Kindest Regards,
Scott M
n/a Points
2015-03-12 4:43 pm

How do I know what database is the "productin" database? I have the _test set up, but there are 5 other databeses on the list.

_06

_78

_97

_wp37

_wp960

 

Step 2: Click the database you are working with in the left menu.

How do I know which one to select?

Thanks,

 

Tim

 

Staff
38,290 Points
2015-03-16 10:46 am
Hello Tim,

Look into the wp_config.php file and you will find the database information such as name, user, and password.

Kindest Regards,
Scott M
n/a Points
2015-03-16 10:57 am

Thank you Scottt.

I resolved this on the support phone line. Terrific support as usual!

Test site is up and running, learned a lot from this video and from the guys on the phone.

Thanks!

 

Tim

n/a Points
2015-03-19 3:30 pm
Great video!! So simple and easy to follow. I was trying to do this myself but didn't know I had to make changes in the wp-options file. Thanks man!
n/a Points
2015-03-23 6:48 pm

Hello,

The problem that I have with this method is that I do not know how to update and change the URL's of the images.

I also found that several of my plugins no longer worked because the URLs were still pointing to old directories as well.

This did move all of my pages and posts however there were some big gaps in my site. Much of it no longer worked and I had links that were pointing to the old site.

Can you tell me how to fix this?

I was thinking of using this tool: http://www.backupcreator.com 

Will this work for me?

Thanks!

Eliz

Staff
38,290 Points
2015-03-24 10:18 am
Hello Eliz,

You will need to go through your settings and database to change any hard set URLs to the new URLs. You can view our article on correcting image links in WordPress for more information on that.

I am not sure about the tool you listed. We cannot endorse any particular tool especially if we have not tested it.

Kindest Regards,
Scott M
n/a Points
2015-03-24 1:55 pm

Thanks for the reply Scott.

YIKES! This is getting a little to technical for me. I am going to try that plugin. Hopefully it will work for me. 

Thank you so much for your post and help, I just get really scared and confused once it gets technical.

I will report back and let you know how it goes.

Thanks again! You are great!

Eliz

n/a Points
2015-03-24 5:09 am

Hai,

I just seen this video and I followed all the instructions.But the test site seems to be distorted and i cant able to login to the dashboard. please help me to run this site.

 

Thankyou!

 

Staff
10,077 Points
2015-03-24 2:12 pm
Hello Azmi,

Can you provide us the domain of your test website so we may look into the issue?

Best Regards,
TJ Edens
n/a Points
2015-03-26 4:47 pm

Hi There,

After having much troubles with a transfer, I have gone through your article in great detail and found it a great tutorial, however unfortunately I am still having troubles with copying my site to a subdomain. 

I have definitely completed step 9 and completed a search and changed my home & site url.

I am trying to duplicate www.orbinox.co.uk to www.2015redesign.orbinox.co.uk/wp-config.pho

If I try to visit my new website I get a blank screen. If I browse directly to the wp-config bt going to http://2015redesign.orbinox.co.uk/wp-config.php

I get the following error:

Warning: require_once(/web/sites/_o/_r/_b/orbinox.co.uk/public/2015redesign/wp-settings.php) [function.require-once]: failed to open stream: No such file or directory in/web/sites/_o/_r/_b/orbinox.co.uk/public/2015redesign/wp-config.php on line 91Fatal error: require_once() [function.require]: Failed opening required '/web/sites/_o/_r/_b/orbinox.co.uk/public/2015redesign/wp-settings.php' (include_path='.:/usr/local/share/pear') in/web/sites/_o/_r/_b/orbinox.co.uk/public/2015redesign/wp-config.php on line 91

 

I am really lost as to what to do now and have been at it for 3 days now. Any help or advice would be appreciated. 

Thanks

Staff
38,290 Points
2015-03-27 10:57 am
Hello Jesse,

You may need to search your database to see if this path exists. You will need to replace the current path with the new one within the database.

Kindest Regards,
Scott M
n/a Points
2015-03-27 11:15 am

Hi Scott,

I have search my SQL database and it cannot find the location. The only place it finds 2015redesign is in the home and site URL which I was meant to change.

Is it nothing to do with line 90 on the wp-config.php? (I dont see why as its a direct copy with just the database details changed). 

Line 90 in wp-config.php is this:

require_once(ABSPATH . 'wp-settings.php');

Staff
38,290 Points
2015-03-27 2:20 pm
Hello Jesse,

The ABSPATH variable is defined somewhere either in the database or in the files. This is where the path is coming from that the error message cannot find. You will want to find out where this is defined and ensure it grabs the proper path.

Kindest Regards,
Scott M
n/a Points
2015-03-30 5:22 pm

hi im from Brasil and thank you for this tutorial that help me a lot

n/a Points
2015-03-31 3:33 pm

Thank you for this excellent tutorial.

My site is sunrisetosunsethomeschool.com.

My testsite is testsite.sunrisetosunsethomeschool.com

I followed the instructions, but I received the following errors when I tried to view my testsite.

 

Warning: require_once(/home/sunris26/public_html/testsite/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/sunris26/public_html/testsite/wp-blog-header.php on line 12Fatal error: require_once() [function.require]: Failed opening required '/home/sunris26/public_html/testsite/wp-load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sunris26/public_html/testsite/wp-blog-header.php on line 12

Staff
10,077 Points
2015-03-31 5:31 pm
Hello Kristen,

That error is specifically saying it is looking for a file, wp-load.php and it is not able to find it. You could copy the file from your main website files.

Best Regards,
TJ Edens
n/a Points
2015-03-31 9:20 pm

Thanks. I think I fixed the problem with the wp-load file. However, now instead of getting those errors, when I run testsite.sunrisetosunsethomeschool.com, I get a blank page. Any ideas?

 

Staff
10,077 Points
2015-03-31 9:53 pm
Hello Kristen,

Try resetting your theme back to the default 2015 theme. If this works please re-install your live websites theme on your test environment.

Best Regards,
TJ Edens
n/a Points
2015-04-03 2:43 am

Hi

Love this where is the next one?  I want to move it back now pls.

ps - also, do you do dedicated hosting?

thx

Karen

Staff
33,570 Points
2015-04-03 10:08 am
Hello Karen,

I'm not sure what you're referring to in your first question. We have no context on the issue here. If you can provide more detail then we can look into the matter further. For more details on dedicated server hosting, please see: Dedicated Servers.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.
n/a Points
2015-04-07 12:35 pm

At the 11:00 mark in the video, Jeff says in the next video, he will show us how to move everything back. I am waiting for that, too. He did such a great job on this one, and I ma ready to migrate my site back as well.

Thanks.

n/a Points
2015-04-04 5:04 pm

Hi,

I created test database:

http://test.accommodationinrichmond.co.uk/

When I try to navigate to the URL I am getting following error:

Fatal error: Call to undefined function get_called_class() in /var/sites/t/test.accommodationinrichmond.co.uk/public_html/wp-content/themes/BookYourTravel/includes/theme_utils.php on line 860

The error seems to be pointing at this piece of code in the theme utils.php folder:

if ($custom_byt_paged) {

$pager_settings['format'] = '?paged-byt= # ';
$pager_settings['current'] = max( 1, get_query_var('paged-byt') );
} else {
$pager_settings['format'] = '?paged= # ';
$pager_settings['current'] = max( 1, get_query_var('paged') );

I don’t suppose you have any ideas what the problem is?

Please let me know if you need any more information.

I am wondering why the file path in the error follows public_html/wp-content as my test folder is in public_html/subfolder/test. Have I missed a trick?

Cheers

Staff
24,082 Points
2015-04-06 1:32 pm
Hello kiboko,

Thank you for your question. If it is referencing the incorrect folder path, ensure you have completed Steps 8-10 in the above guide.

They are quite detailed, but should correct your issues.

Thank you,
John-Paul
n/a Points
2015-04-14 5:13 pm

Fantastic.

It worked for me perfectly. I spent so much time looking for a tutorial like this. Finally I found you!

Thanks

n/a Points
2015-04-16 5:19 am

I have a quick question, test created fine, production site had loads of new posts and pages and so I Wanted to update the test site.  When I came to importing the production db sql file it errored becuase of duplicates found.  Do I need to drop the tables already in the test schema and import into an empty db?  I thought I would be able to over write them. 

Thanks for your help.

Richard

Staff
24,082 Points
2015-04-16 1:28 pm
Hello Richard,

Thank you for your question. Yes, if the table already exists it can cause problems. Typically, you would import into an empty table. In order to overwrite, you would have to custom-code this into an SQL statement or process.

Thank you,
John-Paul
n/a Points
2015-05-17 11:08 pm

I've got good news and bad news. Good news first! I looks like everything copied over flawlesly! Bad news is, I can't login into my test site, going to test.mydomain.com/wp-admin. I put in the password and user we created for the test site and I also tried the user and password for my live site. nothings working. Can you offer any advice?

 

 

n/a Points
2015-05-17 11:20 pm

Nevermind, I totally figured it ut....had a blonde moment and tried typing in the login for my cpanel. All is good!

n/a Points
2015-05-24 8:34 am

Excellent tutorial. Thank you!!

n/a Points
2015-05-25 6:01 pm

Hi,

Great video tutorial but unfortunately after following the instructions twice, I am still getting this message on my test version: 

Error establishing a database connection

Website link: test.barcelona-unleashed.com. For information, on the production version I created I added a passord protection using aksapache online tool.

Thank you in advance for your help!

Greta

Staff
10,077 Points
2015-05-26 8:15 am
Hello Greta,

I am not able to replicate a database connection error as I can see your wordpress website loading. Can you please provide a url that is currently not working?

Best Regards,
TJ Edens
n/a Points
2015-05-26 11:00 am

Hi TJ,thanks for your reply. I had a chat with Larry (IMH chat) and the problem was solved. So yeah no more error visible.

Greta

n/a Points
2015-05-26 8:08 am

Hi

I did all the process and I have the site duplicated. In the new subdomain I can edit everything (menus, plugins, etc) but when I try to edit a page (for example delete an element) and i do update it puts the item back

 

Can anyone help?

Staff
10,077 Points
2015-05-26 8:17 am
Hello João,

Have you tried opening your duplicate website in your browsers incognito mode? This will load the page with no cookies or cache. Also if you have any caching plugin installed, deactivate it.

Best Regards,
TJ Edens
n/a Points
2015-05-26 8:46 am

Yes I have tried incognito.I don't have any plugin in my browser

 

Staff
33,570 Points
2015-05-26 1:23 pm
Hello João,

Sorry for the problem that you're having problems with the duplicate site. We do need a little more info in order to determine why you're having the problem you're seeing. Can you provide the URLs involved with the duplicate site versus the original? If you're making changes on the duplicate site, but seeing nothing applied, then it may be possible that you're looking at the original website. Please make sure that any changes you are making are occurring within a specific domain. If they're occurring in one location, but not being written, then either it's a database issue or you're making the change and then not looking at the correct site where the change has been made.

I hope this helps to answer your question, please let us know if you require any further assistance.

Regards,
Arnel C.
n/a Points
2015-05-26 9:33 am

Yes i have oppened it on incognito mode but it doesn't work

 

It's strange because i edited the menu and slider and it was ok, but when i try to delete a image or text and then do update it puts everything back

 

n/a Points
2015-06-03 6:34 am

just a quick note if you need to replace you site url on lots of places you can run a simple command, just have look short tutorial 

https://codex.wordpress.org/Changing_The_Site_URL

n/a Points
2015-06-12 12:18 am

Hi there, really hoping someone can please help !!!

I have created a test subdomain,but I cannot log in to wordpress and the main point of creating this test is to test new themes but I can't log in.

Everytime I type in test.***.com/wp-admin it redirects to http://www.****.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F

and  gives me the following message: 

No Update Required

Your WordPress database is already up-to-date!

Continue

 

so if i click continue it redirects to my main site. 

I have tried typing in http://www.test.***com/wp-login.php and it gives me the option to log in to wordpress but as soon as I type in my information , it redirects and automatically logs me into my main site.

I have also tried in c-panel to change test.***.com redirect to test.***.com and still it is not working, it appears to have only added more information to URL 

http://test.***.com/www.test.***.com

Can someone please offer a suggestion!!!!

Staff
24,082 Points
2015-06-12 3:26 pm
Hell Mel,

Thank you for contacting us. This often means the test site URL is still set to the original domain.

You will have to Change the site URL for the test site as explained in Step 9 above.

I also recommend undoing any redirects/changes you made in the cPanel, before proceeding.

Thank you,
John-Paul
2015-07-07 4:33 am
Hi!

Thank you for this tutorial.
I have done all steps, however the dev site I made doesn't load. But i can access the log in page, though error when logging in.
Does this mean the site works but I needs time to propagate?

Any help will be greatly appreciated.

Thank You

Dee
Staff
10,077 Points
2015-07-07 3:39 pm
Hello Dee,

The only time you need to wait for propagation is when you modify DNS records. Can you provide us a url so we may look into the problem?

Best Regards,
TJ Edens
2015-07-07 6:49 pm
Hi TJEdens,
Thanks for getting back to me.
Here's my main site:
http://www.craighwilson.com
dev site: http://dev.craighwilson.com
dev site is just a blank page. it doesn't even show an error so I'm not sure what went wrong upon set up. Please help :)
Thank you!
Dee
Staff
10,077 Points
2015-07-07 8:54 pm
Hello Dee,

Have you tried logging into the development administrator dashboard and changing the theme to a system default theme? This should fix the issue at hand.

Best Regards,
TJ Edens
2015-07-07 9:43 pm
Hi Tj,

That's what I would want to try for now but unfortunately I cannot log in with the same details as my main WP site.

:( Dee
2015-07-07 10:13 pm
Hi TJ,
I think I have a track to why my dev site isn't showing up. I went to check wp-content/themes of my dev site and saw that the files from the main site were NOT copied. The file permissions of these folders are 555, do you recommend changing the permission so I can copy the theme files? If so, could you help me out on how to change permission of all its subfolders at the same time?

Thank you so much for the help!
Dee
n/a Points
2015-07-07 11:22 am

Hello and thank you for the tutorial!

I followed the steps but something is not quite right. When I log in to the new site and make a change, it affects both the new site and the old one. I did create a new database, export / import, modify the wp-config, etc. But something is not right. Any ideas?

 

Funny thing is I did this a few months ago and it worked great. I must have missed something this time but for the life of me I can't figure out what is missing. Thanks for your time, in advance!

James

 

 

Staff
10,077 Points
2015-07-07 3:28 pm
Hello James,

I would suggest checking your database information in the wp-config.php file as if you are making changes and it is affecting the main website then the database is still connected to the main website.

Best Regards,
TJ Edens
2015-07-07 7:02 pm
Here's my main site:
http://www.craighwilson.com
dev site: http://dev.craighwilson.com
dev site is just a blank page. it doesn't even show an error so I'm not sure what went wrong upon set up. Please help :)
Thank you!
Dee
n/a Points
2015-07-07 7:10 pm

Thanks so much for this great tutorial!

I seem to have been able to follow all the steps, but it seems that none of the "elements" added to any of the pages -- image boxes, sliders, etc -- are showing up on my test site. The main body text shows up, but nothing else does. 

I can log in to Wordpress fine and every file path I try seems to work, whether images or css pages or what have you. I changed all the absolute URLs using the method in the video (except for those in wp-posts, because the video also seemed to skip those) so I don't think that's the problem. And it seems that all the files from the old site are duplicated for the new site; they both have exactly the same number of files and seem to be the same size.

Having to recreate all the elements again seems to undercut a great deal of the usefulness of porting the site over like this; I hope there's an obvious fix!

Our home page is here: http://www.forfamilies.org

and the test site is here: http://test.forfamilies.org

Staff
10,077 Points
2015-07-07 9:00 pm
Hello Webdev,

Have you tried changing the theme to something such as the default theme and switching it back? Please let us know how it looks on the default theme versus the custom installed one.

Best Regards,
TJ Edens
n/a Points
2015-07-08 12:22 pm

Sadly, flipping back and forth between themes did not make the missing elements suddenly appear. It's like the site just lost upwards of half its content for no discernible reason. Something to do with how Wordpress recognizes whether or not elements are added to the backend of the CMS?

Staff
33,570 Points
2015-07-08 3:21 pm
Hello Webdev minion,

WordPress recognizes added elements through the database. Are you seeing placeholders for the elements? If so, then it's a matter of putting the added items in the correct location. Anything added tot he site (graphics/audio/video) are saved in the wp-contents folder - and usually in a specific sub-folder. Check that out and let us know if you continue to require assistance.

Regards,
Arnel C.
n/a Points
2015-07-08 7:52 pm

I was able to make things work by dropping all my tables and re-importing them using the wp-migrate-db plugin.

Now I'm trying to figure out how best to push updates from the dev site to the production site -- small updates, not whole-site updates that might merit doing this entire process in reverse. I'm experimenting with the built-in Wordpress Importer in combination with a Wordpress Exporter plugin customized to allow exporting individual pages, but now the problem is that Wordpress Importer doesn't let you overwrite existing files. 

I'm trying to tweak the wordpress-importer.php file to allow me to overwrite things as promposed by a commenter on Wordpress Support several years ago when the code was apparently very different (https://wordpress.org/support/topic/can-i-overwrite-existing-posts-with-import-tool), but I'm not exactly a PHP pro; do you know if this is likely to brick my site?

Really I wanted to ask how that follow-up video on the reverse process is coming along. On the comments on the YouTube page someone said about a month ago that filming was going to begin in the coming weeks -- is that still true?

Staff
33,570 Points
2015-07-08 9:00 pm
Hello Webdev minion,

I'll start with your last question about the video. I'm sure you're probably familiar with ever changing thing called "priority". If the video you're referring to has not yet been shot, then it was simply moved back on the board because of other priorities. Our apologies for any delay there.

In regards to the whole "production" and "development" environment. If you are doing massive changes to the website theme that would interfere with the operation of the existing site, then it would be wiser to work in that manner. However, if your intent is only to change a few pages or posts within the WordPress site, then I would I highly recommend that you work within the WordPress structures (unless there's some other prohibitive factor that I don't know about). WordPress was made so that you can you have multiple pages/posts in development without interfering in the displayed website. You can always publish pages (or posts) and allow only certain people to have access to view them.

Again, I'm only saying this based on a typical WordPress site. I do not know what development is required or needed for your site. So my apologies if I'm not providing you any decent feedback. Since you're doing database importing and exporting from one location to another, you may want to explore using the WP Migrate DB plugin or All-in-one WP Migration. There are a bunch of other great db tools such as the WP-DB manager plugin. Many of these tools are very forgiving and easy for the novice to use.


I hope this helps to answer your question, please let us know if you require any further assistance.

Regards,
Arnel C.
n/a Points
2015-07-09 12:29 pm

I did already mention that I had successfully used wp-migrate-db to fix my original issue! At this point I think I have database migration under control; it's the importing and exporting of pages using WXR XML files that's my goal at the moment.

I'm having trouble working in the production environment because for some reason when I hit "preview changes," it functions as if I hit "update" -- the edits go live immediately. And even if Preview DID work, the user is still only allowed to save drafts of pages if the page hasn't been published yet. I want to be able to edit existing pages, sometimes rather drastically, without worrying about making them look terrible in the interim period -- for example, we're in the process of taking official pictures of our staff, and I'd like to be able to add the pictures as we take them, rather than have to do it all at once, but I also don't want to have a live page that's clearly missing pictures, you know?

Our site isn't THAT highly trafficked, so normally I don't feel too worried about risking live-site corrections, but not being able to save drafts of edits for existing pages is a pretty big problem. Hence my interest in quicker import/export workarounds to get between the dev site and the production site.

I know you guys aren't my personal WordPress help desk, so I'm not expecting you to solve all my problems! If you happen to know a good workaround, though, do let me know :)

Thanks again for your help!

Staff
24,082 Points
2015-07-09 5:09 pm
Hello webdev,

Thank you for contacting us. Have you tried turning on WordPress debugging before clicking "preview changes"?

It may help provide more information or a detailed error that can help identify the cause.

Thank you,
John-Paul
n/a Points
2015-07-13 10:17 pm

This is such a great video! Very helpful and so clear. Have you had a chance to make the video you mention at the end? That teaches us how to move our dev site onto the root?

Thanks for all your help! 

Staff
10,077 Points
2015-07-14 11:25 pm
Hello Emily,

We have not had a chance to make that video at this time, however moving the wordpress website to the root directory is a fairly simple task. You can read up on how to do in this WordPress Codex.

Best Regards,
TJ Edens
n/a Points
2015-08-12 3:39 am

Hello I followed the above video guide I'm able to copy the complete site on to my test environment. But, I'm not able to access the pages. I get the following error:

________________________________________________________________

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@boabservices.3esofttech.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

__________________________________________________

 

I have changed the site URL and the Home URL but still I get the above error. Please help me with this.

 

Staff
33,570 Points
2015-08-12 10:15 am
Hello Chandan,

Sorry for the problems with your WordPress site. We would need more information about the exact steps you took to make the duplicate copy. You can find these same directions in the WordPress Codex (under Moving WordPress), so if you're getting an Internal server error, there's something missing somewhere, or another factor causing the error. It's also a very general error. You might want to consult with your host's technical support (since you're not hosted with us so that we could look at your files) to see the specific issue causing the error.

Apologies that I can't give you a more direct answer, but we would need to be able to see your installation in order to quickly determine the source of the issue.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.

n/a Points
2015-09-03 12:34 pm

Thanks for this!  I was able to use it successfully to create a backup site on a subdomain a few months ago.  Now I'd like to do it for a different site, and I've tried twice; but each time when I go to log in to the wp-admin side, it goes to the login for the original site (and the admin side of the original site).

The original site has an SSL that does not extend to subdomains.  I don't know if perhaps there's a redirect somewhere that is causing the problem?  If so, where might it be?  I have edited the .htaccess file to take out a rewrite rule.  I have also double checked to make sure I didn't skip the above steps.  Do you have any suggestions?

Thanks in advance for any help you might be able to provide, and for posting this guide in the first place. :)

Staff
24,082 Points
2015-09-08 1:52 pm
Hello JJ,

Thank you for contacting us. Ensure you have completed "Step 9" above, as it updates the URL and stops the redirects.

If you do not have an SSL for the test domain, be sure to use "http" instead of "https" in the URL.

Thank you,
John-Paul
n/a Points
2015-09-14 9:35 am

Hello John-Paul,

 

Thank you for the response.

I checked “Step 9” again, per your advice.  It looks like there are 4 possible ways to change it:

 

1) Change WordPress address with wp-config.php file – I had already done this

 

2) Change WordPress address in admin dashboard – I cannot access the admin dashboard

 

3) Change WordPress address directly in the Database – I just did this

 

4) Detect and change WordPress address with RELOCATE – I am not sure I understand this one.  Perhaps you can help shed some light on it?  It says to get the MySQL settings from my web host.

 

At any rate, I still cannot log into the wp-admin side.  Is there something else I can try?

 

Thank you,

 

JJ

Staff
38,290 Points
2015-09-14 1:56 pm
Hello JJ,

It sounds as if you have done enough to have it work correctly. You will want to contact support to have them take a look at your individual account.

Kindest Regards,
Scott M
n/a Points
2015-09-04 5:33 am

Hi there,

I am glad that I found this tutorial. I started following the steps and at the point of importing DB, I got stack. When I clicked 'Go' to import, the spinning icon was going on for long time and it never loaded. Well, I ahve to close the window after waiting for 30 min. I noticed that ned to 'browse'button, it says "Max 50MiB". Could it be that the file size more than 50 MB cannot be uploaded?

Regards, Yumiko

Staff
10,077 Points
2015-09-04 9:14 am
Hello Yumiko,

That is correct if you need a database that is over 50MB in size then you can upload it to your account via FTP and contact our support department to restore the database file.

Best Regards,
TJ Edens
n/a Points
2015-09-04 8:09 pm

Wow man you rock!!

n/a Points
2015-09-09 2:51 pm

Instead of coping the files and move them, can I just install two WPs one for the main site and one for the test_subdomain site?  

Staff
33,570 Points
2015-09-09 3:42 pm
Hello Dien,

Yes, you can install two different WP installs and then import your contents, and database. Unless you can simply use a blank WP installation. I hope that helps to answer your question! If you require further assistance, please let us know!

Regards,
Arnel C.
n/a Points
2015-09-11 11:41 pm

Sorry I wasn't clear. I would like to install a new WP theme of a new Website and use the same theme to install to a Subdomain site for testing purposes. So there are two identical brand new sites. Can it be as simple as that?  I don't see why to move or copy database if they are both brand new sites. 

Staff
38,290 Points
2015-09-14 12:50 pm
Hello Dien,

Yes you are correct, if you do not want to import the data from another site, simply installing two different instances will work fine.

Kindest Regards,
Scott M
n/a Points
2015-09-27 7:58 pm

Can this process also be used to create a secondary website with a different domain?  I run my own business and mostly manage my website myself.  I have two aspects of my work and want to split off one into a separate website so the SEO is different but basically want the same structure and CSS.  I'm essentially wanting to do the idea of a copy and paste to my new domain then simply change the content in the pages.  Could it be this simple?

Staff
38,290 Points
2015-09-28 2:47 pm
Hello Jamie,

Yes, you can use this method to create a clone site to spin off as another.

Kindest Regards,
Scott M
n/a Points
2015-09-29 4:35 am

Great Sir i just followed your steps and done clone easily thanks.

n/a Points
2015-10-06 12:40 am

Thank you so much for this tutorial, it worked and has been such a help!

n/a Points
2015-10-08 8:41 am

THks a lot, it is really helpfull, you deserve a statue

n/a Points
2015-10-29 2:25 am

Great tutorial.....followed everything in the video and it worked out fine!! Thank you!!!

n/a Points
2015-10-30 6:40 pm

This tuturial is absolutely great. However, I am having an issue. The issue states...

This webpage is not available

ERR_NAME_NOT_RESOLVED Then the details states... The server at test.*****.com can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventingGoogle Chrome from accessing the network.

 

Is there a way to fix this?
Staff
24,082 Points
2015-10-30 6:54 pm
Hello Mike,

Thank you for contacting us. Ensure you have already created the subdomain in your cPanel.

If you created it recently, you could be experiencing propagation.

Thank you,
John-Paul
n/a Points
2015-10-31 6:03 am

My basic thing is, I have a site that I want to completely do over. But it was hosted by wordpress.com not wordpress.org before I signed up here.  I want to keep the domain but I have a theme I purchased that I'd like to basically redesign the site. (I requested the domain be transfered to Inmotion through domain concierge). 

Okay, so I set up a sub-domain and set up a database, but then, I got stuck at exporting the current wordpress database. And I don't know if that will work anyway since it was originally a wordpress.com site. I went to the tutorial, but I got stuck at step 2: Select the database you are currently working with...

Is there some way to start with a fresh template and later import blogposts from the wordpress.com site. WHich I would delete but I want to keep the domain...

I hope you can follow that. Am I barking up the worng tree. I'm new to this.

website>>> www.rigorouseducation.com

Staff
38,290 Points
2015-11-02 3:26 pm
Hello Aaron,

Check our our article on moving from WordPress.com to our servers. The data export will come over as an XML file and can be imported right into the database here.

If worse comes to worst you can always just copy the post text from the .com admin area and copy it into a post on your new site.

The article should be the easiest way, so be sure to comment below if you have any questions or concerns about it.

Kindest Regards,
Scott M
n/a Points
2015-11-05 3:07 pm

thanks for the tutorial!! Just a quick heads up that though you've blurred out your sensitive info throughout the rest of the video, your password is visible at 4:00. 

Staff
24,082 Points
2015-11-05 3:26 pm
Hello Melissa,

Thank you for contacting us and letting us know. This is just a test account, so it is no longer active.

Thank you,
John-Paul
n/a Points
2015-11-13 8:29 pm

This brought be great happiness after some frustration, did the job near perfectly except for Text Widgets not coming accross. They did have old urls in them but did the search thing and changed the urls to new ones and they still did not appear. I just create new copies in the end but if there is a way this can be done as well for the future that'd be appreciated. Thanks all for your help!

Staff
10,077 Points
2015-11-13 9:19 pm
Hello Daniel,

Unfortunately sometimes a migration does not transfer perfectly as I recently moved one and it was missing a few images randomly. It can vary from process to process.

Best Regards,
TJ Edens
n/a Points
2015-11-14 11:38 pm

Fair enough, the slight hiccup cost me only about 5 minutes other than that it was spot in. Still very useful tutorial. Thanks

n/a Points
2015-11-16 1:48 pm

Thank you for this great tutorial! It really simplified the whole copying process.

I have a few basic beginner questions. I currently have a site and I've set up a test site. However, wp-admin links back to the original site and not to the test? I'm a bit confused as to whether I should be getting a new test/wp-admin dashboard or not.

The main concern is that I'd like to keep the changes made to both sites separate (while keeping the original running), and I keep wondering if that's only possible by reinstalling wordpress in the subdirectory. Please advise.

Thank you!

Staff
38,290 Points
2015-11-16 4:36 pm
Hello Delphine,

You will want to ensure you have followed all the instructions and have the URL settings pointed to the new URL. Any links that have hardcoded URLs will need to be manually changed, however as they will not follow the changes in the settings.

Kindest Regards,
Scott M
2015-11-22 9:08 pm
Hi Guys,

Thanks for this great tutorial.

I am a little confused as to how I should be logging in though (apologies - I'm a relative beginner!)

should I be going to test.mysite.com/wp-admin or mysite.com/test/wp-admin. If I go to the first one it logs me into my main site editor and if the second one it says there is an error establishing database connection.

I have followed the instructions and manually changed the urls as per step 9 - what am I doing wrong?

Thanks in advance

Rose
2015-11-22 9:28 pm
Ok I've managed to fix the error so now when I go to test.mysite.com/wp-admin I use my normal wordpress log in details but when I click 'log in' nothing happens. The eggtimer goes around and it looks like it is going to load but it just takes me straight back to the log in page.

Thanks,

Rose
Staff
38,290 Points
2015-11-23 12:21 pm
Hello Rose,

That should not happen. I'm assuming that this does not happen on your live version. By chance are you running this copy on a different php version?

Kindest Regards,
Scott M
2015-11-23 6:43 pm
Hi Scott,
No, I've checked and both versions 5.3.29
Thanks,
Rose
2015-11-23 6:44 pm
And, correct, live version logs in fine
Staff
38,290 Points
2015-11-24 8:11 am
Hello Rose,

At this point you would need someone in support to take a look. They will need to get with you on the login credentials so they can attempt to log in and make any adjustments needed. If you are one of our customers, contact Live Support. If not, be sure to reach out to your hosting support so they can take a look.

Kindest Regards,
Scott Mi
n/a Points
2015-11-25 4:54 am

Hi Guys,

Great tutorial, but I'm running into a problem. Followed these steps:

- Copy public_html root (files and folders) to new location (subdomain)- Create database- Export current database

At this point I was able to connect to my test website (test.mywebsite.com) and saw the default WP login. But the next step makes my site accessible with an error 500.

When I import the current database and change the siteurl and home field in the database, my site is no longer accessible. 

I'm trying to make a dev site and eventualy want to create a cronjob to copy the database daily or weekly.

What am i doing wrong?

Kind regards,Remco

Staff
33,570 Points
2015-11-25 11:33 am
Hello Remco,

Sorry for the problem that you're seeing in coping the site. I just tested these directions and they were working for me. I think the only thing that might be confusing is the use of the subdomain name. If you did not define that subdomain in the cPanel, then you may have problems. I personally simply used the following naming pattern in my test:

http://example.com/copyme (original site)
http://example.com/thecopy (copied site)

Make sure to define your subdomain in the cPanel and then try changing it. You can also try using the Softaculous option in cPanel (available for free in shared server accounts). There is a tutorial called How to clone your site with Softaculous. One last note, if you're using a custom .htaccess, it may also affect how your WordPress site is being called. Make sure that an .htaccess file isn't causing the error you're seeing.

I hope this helps to answer your question, please let us know if you require any further assistance.

Regards,
Arnel C.
n/a Points
2015-11-30 7:06 pm

Hi All, 

I followed the instructions and have recieved no error messages, but now I can't figure out how to actually access the testing version of the site that I created? I would like the testing sebsite to remain "invisible" and the current website to remain functional, until such time as I have completed the changes I would like to make and would liek the new and improved website that I plan to develop on the testing subdomain to go live. 

 

With Thanks

Staff
38,290 Points
2015-11-30 7:36 pm
Hello Alison,

If you have the test site under a subfolder, such as domain.com/test, then the admin area would be located at domain.com/test/wp-admin.

Unless someone knows about the subfolder, then it will not display publicly. Be sure to set the General Settings to not index the site.

Kindest Regards,
Scott M
n/a Points
2015-12-02 8:59 pm

Okay, I seem to have figured out the above, but now when I try to preview the website in Wordpress it will only show a page Index of /testing1/ followed by the folders and files in the testing1 folder. Any ideas?

Staff
33,570 Points
2015-12-02 10:40 pm
Hello Alison,

If you're seeing that for your page, then you're missing the default WordPress index file. It's normally part of the WordPress installation. If you have any further questions or comments, please let us know.

Regards,
Arnel C.
n/a Points
2015-12-01 2:08 pm

Hello, I have done exactly like you explained. My web site have subdomain test.domain.com but when I try to access test.subdomain.com/wp-admin to edit content on it says 403 forbidden error "You don't have permission to access /wp-admin/ on this server." I also tried domain.com/test/wp-admin and still get the same message. Where did I make mistake? Thank you.

Staff
10,077 Points
2015-12-01 3:20 pm
Hello Ivan,

You will need to follow the steps provided in this article regarding 403 errors with the WordPress Admin.

Best Regards,
TJ Edens
n/a Points
2015-12-02 3:41 am

Hi TJEdens,

thank you for your time.

I give up, delete it, and start all over again and now it works! I think that I made mistake somewhere at copying files from public-html to test folder.

No matter on that, thank you once again on tutorial. It was very useful for me!

Kind regards,

Ivan

n/a Points
2015-12-03 11:44 am

Test site done! Npw hoe can i edit my test site through wp dashboard? such as wpml and woocommerce edits..

Staff
33,570 Points
2015-12-03 3:29 pm
Hello Altug,

If you installed the duplicate site properly, then you should be able to login to the administrator in order to access Woocommerce and WPML.
n/a Points
2015-12-27 11:14 pm

Hello.

Can you help me.

I had an website: tranggiadung.vn and I tried to clone to tranggiadung.vn\lab

I did step by step but it show page not found and I can not access tranggiadung.vn\lab\wp-admin to login.

Can you help me some idea?

 

Thanks

Staff
4,258 Points
2015-12-28 8:51 am
Hello Kien,

It's possible the URL of the test site is not configured for the new location. Did you follow the steps in the below link:

http://www.inmotionhosting.com/support/website/wordpress/wordpress-changing-the-site-url-and-home-settings

If so, I would check to make sure all the files copied correctly.
n/a Points
2015-12-31 3:45 pm

Hi.  I followed your video completely and the test site doesn't show up at all.  Just a dummy page from bluehost.  And my actual website?  Gone!  It says error establishing a database connection.  I am freaking out!

Staff
24,082 Points
2015-12-31 5:19 pm
Hello Cheryll,

Thank you for contacting us. Since this guide is just making a copy, it should not affect your existing site. Here is a helpful link to our Wordpress - "Error Establishing a Database Connection" guide. It should help you get your original site going again.

Thank you,
John-Paul
n/a Points
2016-01-02 9:30 pm

Got it! Holy cow that was a bit challenging. Most of it was follow right along, but the sections where I need to click and the video has them blurred out made it hard to follow, particularly around 8:30 in the vid. Got an Error Establishing Network Connection, because in the video you can't see what he is typing or where.

Not to worry, got it fixed and am grateful for the tutorial!

n/a Points
2016-01-06 3:18 pm

Hello - so glad to find this post. 

I have set up a 2nd site at dev.mymainURL.com and have been using that space to build a new version of the site (new framework and theme, content, plugins, etc.) 

My question now is how do I make that newer version of the site (which currently lives at dev.mymainURL.com) live? Do you happen to have a post about that?  (FYI - the original version of the site uses Wordpress, but is a custom build that someone else did...)

TKS!!

 

 

Staff
33,570 Points
2016-01-06 4:04 pm
Hello Jamie,

If you're taking a WordPress site on a DIFFERENT URL and moving it to another location where it will be live, you're basically moving WordPress from one place to another. The main difference is that you need to keep the URL of the original site. We also have a tutorial on moving WordPress to a new location.

I hope this helps to answer your question, please let us know if you require any further assistance.

Regards,
Arnel C.

n/a Points
2016-01-28 1:31 pm

Thanks, Arnel. Will check this out. Fingers crossed! 

n/a Points
2016-01-08 9:32 am

Great tutorial. Thanks.

n/a Points
2016-01-28 12:04 pm

Hi Guys, thank you for the great tutorial. I think all most everything worked out. There is a testsite and seperate database, some fonts look different and some image links are broken but that is fine. The problem I now have is that it will not allow me to log in to wp. I get the following error (I took out the name of the site hope that is no problem): The website encountered an error while retrievinghttp://testsite.sitename.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F. It may be down for maintenance or configured incorrectly.

Would you have any idea where I have gone wrong? The environment I had to do it in is a bit different then the Cpanel but I followed all the same logic and steps.

Thank you!

Staff
10,077 Points
2016-01-29 10:00 am
Hello Els,

We would need your domain to look into it further. Might I suggest opening a question as you can privately provide us your domain with that method.

Best Regards,
TJ Edens
n/a Points
2016-02-09 4:28 am

Hi, I have followed the steps and created  staging folder and a subdomain as staging.fiadotech.com

but when I go into the dashboard of staging I cannot see any pages and content of my website but if I go the staging.fiadotech.com, I can see the pages. Pls tell me how do I get the content also duplicated here or is it that we have to change in the main dashboard and it will reflect here which I dont believe is true.

Regards,

Indu

Staff
4,258 Points
2016-02-09 9:37 am
Which content is missing? It sounds like you can see the site at staging.fiadotech.com. I'm not sure what you're lacking exactly. Would you be able to clarify the issue?
n/a Points
2016-02-09 11:14 am

I'm pretty sure I did everything correctly.  I didn't get any errors messages.  However, when I try to open www.test.vintagerocksinteriors.com it redirects to my main site of www.vintagerocksinteriors.com.  Any ideas?

Staff
4,258 Points
2016-02-09 11:32 am
Yes, it is likely that the database is still calling for the latter domain, www.vintagerocksinteriors.com. I advise going through steps 5-10 again to make sure you have made the necessary changes in wp-config and your database.
n/a Points
2016-02-22 7:27 am

You guys are awesome!  I did it, and I've never built a site before.  This is my first time learning how to build a wordpress site.  I was stuck on building a test environment, but following your steps, I did it!

n/a Points
2016-03-07 12:24 pm

reating the newsite to build under a subdomain was easy.. I did it and created the site.  BUT now I have tried to bring that site to the URL of old site and I now cannot open anything .. I don't know what I have done wrong.. I have watched the video and tried to reverse it a few times.. I have I though followed all teh right steps but I simply get a blank page now.. my website URL old is http://www.srdsindia.org and the new one was newsite.srdsindia.org.  I will contact my server to see if they can see what I might have done wrong but if you have any insight it would be much appreciated.

I also did the steps for converting the images files to the new url but this possibly does not seem to have worked as on a search in php my admin there are still many image files with the wrong pa

Staff
4,258 Points
2016-03-08 11:46 am
Sorry to hear that you have been having difficulties setting up the testing site. If you have Softaculous, you can try cloning your site as the below comment suggests.
n/a Points
2016-03-07 5:55 pm

It is possible through cpanel and softaculous (or installatron) to create a clone of the original site and specify a new directory for it to sit in.

I have done this several times and find it has always been a simple 'one button' press solution.

Go to softaculous, and next to your current wordpress installation you will se a clone button (next to back up and delete). I'm not sure if this only works if you originally installed wordpress through softaculuos though.

 

n/a Points
2016-03-16 11:07 am

Really good video!! Seem very clear but still scared for now. I have few questions. I have a multisite with a subfolder, both are linked with a language plug in and I was wondering if in this case I can follow this video as well.

Also, I have created the subdomain in order to ad the test site, but I have installed wordpress on it already to have other password. Should I then delete everything is there and just follow the video? Then the log in in wordpress will be the same as for the real site? This part is not clear for me as I'm really new on this.

 

Thanks very much for your help.

Staff
33,570 Points
2016-03-17 3:47 am
Hello Susan,

The confusing here is that people often try to simply duplicate WordPress sites WITHIN the Multisite installation. This is the reason for the warning up top. The instructions were really made for TWO individual installations of WordPress not using multisite. I would not recommend using these instructions on your multisite installation.

If you have any further questions, please let us know.

Kindest regards,
Arnel C.
n/a Points
2016-03-21 6:25 am

Hi Arnel,

 

Thanks very much for your quick answer. What will you recommend me in case of multisite? To test before making any changes on the real one?

 

Thanks again

Staff
24,082 Points
2016-03-21 9:21 am
Hello Susan,

Thank you for contacting us. Just be sure to backup any site files/databases before proceeding with any tests.

This will allow you to revert back if there are any issues.

Thank you,
John-Paul
n/a Points
2016-04-02 12:10 am

awesome just what i needed!

n/a Points
2016-04-05 4:19 pm

I uploaded my test site and all my portfolio pages /post are gone/broken. When I searched my original domain in phpmyadmin under the search database it shows: 681 matches inside table wp_posts and 36 matches inside table wp_postmeta. Do I have to change ALL of them to my new subdomain to get them to work which will take forever to get them to work? Is there a shortcut? In the tutorial it wasn't clear which occurences of the old domain we could leave as is and which ones we had to change, besides the homepage. I don't understand with the cloning which things got changed to the domain and which ones stayed the same and why.

Thanks,

Denise

Staff
33,570 Points
2016-04-06 10:01 am
Hello Denise,

Sorry for the problem with your links. Generally, many sites that are cloned don't include all of the content, but that is not always the case. So, when you clone a site from one location to another, the core files stay the same, but the wp-config.php needs to change for the new location, the content files need to be moved, and the database needs to moved. The content files also remain the same, but the references in the database for the content files (e.g. images) need to be updated to the new location. Although you have a lot of files that need to be changed, it's actually relatively quick and easy to make the changes using a little SQL code. You can find out how to do that using this tutorial - it's about correcting image links, but the provided code can be easily modified to update other portions of the database as necessary. You may also consider a WordPress plugin like Better Search Replace. This is a very simple plugin that lets you update URLs ro text within the WordPress database.

I hope this helps to answer your question, please let us know if you require any further assistance.

Regards,
Arnel C.



n/a Points
2016-04-14 6:56 am

Hi, great tutorial and easy to follow.

It's not quite working out for me though, when I try to go to my test site test.saferemedies.com it still takes me to saferemedies.com.

The only thing I can see that I have done wrong is I copied all folders and files over (bar the new test folder), I didn't see that it was supposed to be wordpress folders only. Here are a list of the fodlers and files that have been copied over. Could you tell me if any of these need to be removed to get this working?

https://www.dropbox.com/s/u81qlkn4miliqgd/filemanager1.jpg?dl=0

https://www.dropbox.com/s/gbkdcyz2olki4c7/filemanager2.jpg?dl=0

Thanks, Derek

 

Staff
24,082 Points
2016-04-14 12:40 pm
Hello DerekS,

Thank you for contacting us. If your site is redirecting to the original domain, ensure you have completed the full guide above, specifically step 9. This should cause the site to resolve to the test address.

Thank you,
John-Paul
n/a Points
2016-04-14 2:44 pm

hi

after all has been moved to other storage with same cpanel i cannot see the installtion in the Installations link -- Current

how can i fix it

thanks

eran

Staff
24,082 Points
2016-04-15 11:34 am
Hello Eran,

Thank you for contacting us. If it is not listed in Softaculous, you may have to import it into softaculous.

Thank you,
John-Paul
n/a Points
2016-04-15 10:55 am

I am an inexperienced web developer and have been looking at how to do this for so long. THANK YOU Jeff!!! Simple to follow and worked perfectly! I have bookmarked your site so I can follow the next stage video when ready.

n/a Points
2016-04-20 7:25 pm

Thanks for the great video! Everything worked perfectly for this newbie.  2 questions.  #1 Now that I'm in my test environment, I have done a few updates to content on my live site, in the meantime, while I'm still in testing.    How do I update my test environment with these new content changes to see how they'll look on the new site? 

#2 If I've made live changes like...deleted plug-ins, posts or pages, how do I transfer those changes over to the test environment.  I tried and got some SQL errors, so I'm not sure what I'm doing wrong. I really want the site content to mirror each other so when I move everything over, it'll be up to date. 

Thanks. 

 

Staff
33,570 Points
2016-04-20 9:26 pm
Hello Candice,

Thanks for your questions about the test WordPress site. #1 - Whatever assets you've changed on the live site, you should be able to load on the test site. Content is general created or uploaded in WordPress. It's no different on your test site. Were you having specific problems making the same changes?

#2 - If you delete plugins, you can do the same thing in your Test site, but you need to do it through the provided WordPress interface - you have to login to the Admin go to plugins and remove the plugin if you're trying to remove one. Don't make changes directly in the database unless you're simply making text updates. Above all else - since it seems like you're experimenting - make sure to have a backup of your sites so that you can restore to a certain point if necessary.

If you're still having difficulty making changes from one site to the other, please describe EXACTLY what you are doing when you try to mimic the changes on the test site.

If you have any further questions, please let us know.

Kindest regards,
Arnel C.
n/a Points
2016-05-04 3:26 pm

I followed the instructions in the video above, but when I tried to access my website in the subdomain (dev), I got a prompt to start the five-minute install. How should I interpret this & how do I fix it?

Staff
33,570 Points
2016-05-04 10:02 pm
Hello Signsanssignfied,

The problem may be related to the database assignment for your installation. You need to make sure that the database is correct, or the installation will try to start over again. Double-check all of your configuration settings and let us know if you continue to have any problems.

If you have any further questions, please let us know.

Kindest regards,
Arnel C.
n/a Points
2016-05-14 6:31 am

I followed the video step by step and have read all post and I have had none of the issues mentioned, but I still dont see my test website yet. Is there another video to watch that I will be able to test the process please?Thanks

n/a Points
2016-05-14 7:11 am

This is what pops up.

test.chromacomm.com’s server DNS address could not be found.

 

DNS_PROBE_FINISHED_NXDOMAIN
Staff
38,290 Points
2016-05-16 1:37 pm
Stefan, you will want to check with your hosting company to see why the subdomain DNS is not propagated. Perhaps they can push it so it resolves for you.
n/a Points
2016-05-19 9:49 am

Excellent walkthrough! I was able to successfully complete this with my Bluehost hosted Wordpress site. Thank you so much for the guide!

n/a Points
2016-05-22 3:01 pm

And what about indexing? What is the best way to make sure the subdomain (test site) will not be indexed from search engines?

Staff
38,290 Points
2016-05-23 1:36 pm
You can add a robots.txt file to your sites main folder and set it to not allow crawlers. Keep in mind this is more of a request though, as search engines can still index if they want to. Good engines, however should abide by your request.
n/a Points
2016-06-20 8:16 pm

Fantastic video! Thank you! Do you have the link to the video Jeff mentions at the end to move everything back to Production? I realize it is kind of the same steps but would appreciate the help for the first time I do it.

Thank you

Staff
38,290 Points
2016-06-20 8:20 pm
Hi Cheryl,
Jeff never got to make that second video. We are planning on redoing this one to bring it up to date and to have the second one as well.

Kindest Regards,
Scott M
n/a Points
2016-07-14 1:03 pm

Hi Scott,

Thanks for clarifying about the 'moving it back video' (and thanks Cheryl for asking). I have just about finished with my test site and will be moving it back over in a matter of days. First time doing this. Do you have any suggestions or resources I could look at to make sure I do it correctly? It was one thing to transfer over and potentially 'mess up' my test site, but don't want to make any errors going back to my primary site of course! Thanks in advance. Sasha

Staff
38,290 Points
2016-07-14 4:04 pm
Hi Sasha,

It truly is essentially the same thing in reverse, so it is not too bad and you can follow the same tutorial keeping that in mind. I do understand about not wanting to mess up both sites in the process, so the best thing is to make a copy of the folder that houses the main site. This way you have a copy to revert back to. This peace of mind makes attempting the move much easier!

Kindest Regards,
Scott M
n/a Points
2016-06-30 3:11 am

Excellent tutorial, Jeff! I'm a complete newb dealing with databases and networks, and I was able to follow along easily and everything (so far!) has worked out great. One thing to keep in mind, in the video at the end in the SEARCH for the old url, you didn't mention what kinds of things to look out for. I had a lot of results come up - most were in my posts - but I wasn't sure which ones I needed to change. I had to refer to the written instructions below and get the SQL code for the posts. But still, excellent tutorial. Very helpful!One question: I already have a pretty big site, what if I just want to export like a single page, or only a few posts back to the original site, instead of the entire site. Is that possible? Let me know. thanks guys! 

Staff
24,082 Points
2016-06-30 2:30 pm
The guide above will not allow you to choose which pages are migrated.

It is possible to export, then import content from the WordPress Dashboard.

Thank you,
John-Paul
n/a Points
2016-07-01 9:35 am

Towards the end of the video where you were doing the search of the old url in the test database: Besides ninja forms, it is showing 57 matches in wp_commentmeta; 1 match in wp_comments; 41 matches in wp_posts and 1 match in wp_users.

Is it not necessary to change to the test url in the aforesaid tables?

Staff
33,570 Points
2016-07-01 11:12 am
Hello Edwin,

Jeff (in the video) is searching for his domain name in that search. He was looking to remove it because he had cloned the site based on his domain. It will need to be changed to a DIFFERENT domain for your new test site. You should replace that old URL with the new one that you're using for your test site. Jeff is saying that many of found values are the result of a positive where it's using his email address - which isn't a problem for the operation of the site. He left them because he can still access the email and it's not critical to change them.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.
n/a Points
2016-07-13 7:57 am

Hey guys! Followed your guide, but my subdomain isn't working. I just get an 404 Error. I have followed your steps very carefully, both in File Management and MyAdmin.The page im trying to get up and running is: dev.unitystudios.com.Are there any naming conventions along the way, that i should be aware of?

 

Best regards

Andreas 

Staff
33,570 Points
2016-07-13 2:37 pm
Hello Andreas,

If your primary domain is not pointed to us, then you would not be creating a subdomain going to us. When I check unitystudios.com, it's not pointing to us (at least). We have another domain (unitystudios.com.au) with the same name and it shows that the subdomain is not created. In either case, please start with that issue and then you should be able to go through the rest of the directions to create the duplicate site.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.
Staff
11,201 Points
2016-07-13 2:25 pm
Did you set up the subdomain in cPanel first? You need to make sure the subdomain is set up and reachable before you can use it as a dev environment. There are no naming conventions needed, only the necessary DNS records to point the subdomain to the right location.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

234 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!