Duplicate WordPress site onto a staging site on a subdomain - wordpress

I'm trying to set up a staging site for an existing WordPress site.
I've backed up the existing public_html folder through filezilla and it's about 25GB.
I've set up the subdomain on cpanel and also a new staging database.
I'm following these instructions - https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/#stagingmanually
But the Duplicator plugin doesn't work on my wordpress site - I've even paid for the pro version but it fails at the Scanning part and never even gets to the Build part. I've been through the Help for Duplicator and they can't work it out either.
So ... my question is ... can I do this through cpanel and avoid the whole Wordpress dashboard completely. Can I just copy the files from the cpanel File Manager and put them into the Staging subdomain?
Or is there another way to do what I'm trying to do?
Thanks so much
Rebecca

The free version of the Duplicator plugin doesn't allow you to create a package more than 500MB, you will have to do it on two parts by migrating only the database by the plugin and zip the files on cPanel and move the manually or using FTP.
You can zip the files and upload them to the new domain and export the database and open notepad++ for example and start replacing the old URL with the new one then import the edited database to the new domain

Related

Need to transfer site currently on Siteground

my client wants to keep using their hosting that they currently have their site on, where I was given cpanel and ftp logins. I made the Wordpress site on a temporary domain on Siteground. How do I go about transferring the site to their hosting?
there are many plugins to transfer your website and database to different hosting. The good one also rename all URL's in your database to ones of your new hosting.
I suppose the easiest one is Akeeba backup for Wordpress Akeeba Backup for WordPress
download the plugin, install it in your Wordpress and activate it
In your Wordpress menu you will have Akeeba backup entry click it and create new backup (for bigger websites I recommend split the backup file into smaller parts in plugin settings)
upload all parts of your newly created backup (you will find it in wp-content/plugins/akeebabackupwp/app/backups/) into the new server root through FTP
download Akeeba Kickstart Kickstart (Standalone) (this files will uncompress your backup on the server) so copy both files in downloaded zip into server root
visit in your browser your new hosting domain and add /kickstart.php (example.com/kickstart.php) follow onscreen instruction to complete recovery
in case you are stuck here documentation for Akeeba Backup Akeeba Backup for WordPress
and for akeeba-kickstart

Hosted the website in godaddy. How to create wordpress web-site?

We have a domain hosted in godaddy. The web-site works fine without any issues.
Now we would like to use wordpress and wordpress themes and plugin to build the web-site
How do install or deploy wordpress in godaddy?
Thanks.
In godaddy, there is an option for one click install wordpress.
Or
If you want to install wordpress manually follow the below steps :
Download and unzip the WordPress package if you haven't already.
Create a database for WordPress on your web server, as well as a MySQL (or MariaDB) user who has all privileges for accessing and modifying it.
(Optional) Find and rename wp-config-sample.php to wp-config.php, then edit the file (see Editing wp-config.php) and add your database information.
Upload the WordPress files to the desired location on your web server:
Run the WordPress installation script by accessing the URL in a web browser. This should be the URL where you uploaded the WordPress files.
For more details see this link click here

wordpress database not showing in PhpMyAdmin

I am new to wordpress and have bought udesign theme from themeforest. from my Plesk I have installed WP and then from the dashboard of WP tried to upload the theme, but failed. hence went directly to dedicated server and hosted on the root folder.
Theme started reflecting on the dashboard and I have started customization. Once site completes I need to move the site to production server. When I check PhpMyAdmin from the plesk, it shows there is no DB table. how do I copy/move the site without DB?
Can i manage site without PhpMyAdmin? like copying the entire assets to new server and it starts working automatically?
Please help me to find DB or Let me know how to work with the themes to make sure everything in right place.
Many Thanks,
Gururaj
If you’ve ever had the need to find the name of your WordPress database, then there’s an easy way to do that – simply look for it in your wp-config.php file located in the root folder of your WordPress install.
Accessing Your WP-Config.php File
If you are doing something where you need the name of your database, then I’m assuming you have access to your server.
Simply go to the main folder of your WordPress install and locate the file called wp-config.php.
Edit file and find name in:
define('db_name','your database here');

How to upload wordpress theme to sub domain

In my localhost(xampp) wordpress themes are installed. I activate one of them And create user name and password for the wp-admin.
And I backup database and wordpress site and upload it to subdomain(live site). After upload all content will load without CSS style-sheet. And wp-admin also not working. And url as same baseurl twice.
Question is How to upload my wordpress site to my subdomian. Clear me out. Am i missing some thing??
This is pretty much what you are looking for: Moving WordPress
It´s a quite detailed manual how to move WordPress Sites/Blogs from one server to another and moving from localhost to a live server is not much different.
If you are trying to move a complete Wordpress site from one server to another I would recommend using the plugin Duplictor.
https://wordpress.org/plugins/duplicator/
Really easy to use and does the job excellent!
I do blogging a bit. I found this video tutorial, I have used this one to successfully set up a new subdomain and install Wordpress sometimes ago.
STEPS::
Use cpanel to create the subdomain
Download the latest version of wordpress to your local drive
Upload to subdomain folder on your host
Extract the files, and move them into the subdomain folder
Use cpanel DB Wizard to create a new data base
Make a note of the username, db name and db password
Copy wp-config-sample.php to wp-config.php in the subdomain folder
Edit wp-config.php to add the username, db name and db password
Open the URL "your-subdomain.your-domain.com/wp-admin/install.php"
Fill out the fields on the form and press "install wordpress"
After creating the a subdomain, use WP clone to create and install a backup of my live site into the new subdomain. The clone site allows you to verify updates before deploying them to your public site.
Hopefully the issue has resolved already, but maybe this will be of use to others.
Thanks.
If you are trying to move a complete Wordpress site and is without plugin,
copy all the wordpress files in the htdocs/project-name to the
subdomain folder.
Then export the db from phpmyadmin,open it in an editor
Change all the url of the format 'http://localhost/your-project-name'
to the subdomain link(http://eg.example.com).
Save it and import the sql file to the subdomain's db
Change the database,username,password in wp-config of the subdomain
with subdomain's db details.
http://codex.wordpress.org/Installing_WordPress#In_a_Subdirectory
Wordpress codex gives you the steps for doing this.

How to install WordPress in subdomain?

At the moment I have a WordPress installation in a subfolder of my current site (example.com/wordpress). How do I make it so that wordpress is accessible from a subdomain?
I.e. I would like wordpress to be accessible from this address: wordpress.example.com, and that all the links, posts and pages will still work flawlessly, e.g. wordpress.example.com/my-wp-post/
If it makes a difference which host one is with, I am asking specifically about 1&1.
Thank you
I am not a big fan of video tutorials, but I used this one to successfully set up a new subdomain and install wordpress.
Here is an overview of the process
Use cpanel to create the subdomain
Download the latest version of wordpress to your local drive
Upload to subdomain folder on your host
Extract the files, and move them into the subdomain folder
Use cpanel SQL Wizard to create a new data base
Make a note of the username, db name and db password
Copy wp-config-sample.php to wp-config.php in the subdomain folder
Edit wp-config.php to add the username, db name and db password
Open the URL "your-subdomain.your-domain.com/wp-admin/install.php"
Fill out the fields on the form and press "install wordpress"
After creating the a subdomain I use WP clone to create and install a backup of my live site into the new subdomain. The clone site allows me to verify updates before deploying them my public site.
Hopefully the OP has resolved this issue, but maybe this will be of use to others.
I think you have 2 options.
1) Manually:
Copy your wordpress install from the subfolder of your main domain to the subdomain's folder. Using a database editing tool (of your choice) go into the wp_options table and change the option_value of the option_name 'siteurl' and 'home'.
You might have a few other options that will need editing, but they are more often than not plugin specific.
2) A little better:
Create a new wordpress install in your subdomain. Copy your plugins, themes and uploads into it. Then, install the plugin wp-migrate-db-pro from https://deliciousbrains.com/wp-migrate-db-pro/ Use this plugin to copy the database from the subfolder install to the subdomain install. This plugin will globally search and replace the URLs and Folders for you.
I've been using this plugin for a while...and it saves me hours and hours of work.
Purchase your unique URL or subdomain or wherever you want the wordpress to live from your host provider.
wordpress.example.com
coolurl.cooltimes.com
upload Wordpress to that root. /
Or define a custom folder for it;
wordpress.example.com/partywp/
NOTE: If your looking for the free (no hosting required - though less custom website friendly) wordpress with similar URL, please use wordpress.com version and you don't need to do anything.
http://wordpress.com/ is different from http://wordpress.org/
Wordpress.com is like google blogger and you simply create an account and they give you a URL - and free blogging area with small templates. You can transfer your free wordpress.com to custom wordpress.org -- if you would like to use wordpress hosting naming convention, consult wordpress.
Added:
If you are changing the location from your original install; to a different path or location. You should then uninstall the Wordpress that is elsewhere or previous, and reinstall at where you want it to currently live to avoid any wholes or errors, etc.
So, if now it must be at: wordpress.example.com -- work with your host provider (hopefully not godaddy) locate the root to this domain, and reinstall with a fresh latest version and you should be OK. If you have further DNS issues, please try to describe your question more clearly.

Resources