I have a blog hosted at openshift but would like to move it, I have wordpress installed using 1 small gear (not scalable). I've tried plugins like WP Clone by WP Academy and Move Wordpress but the server times out before the backup/clone/zip file is created.
I was able to login to my openshift account using SFTP to manually copy the wordpress installation to the new server but the structure is different than what I'm used.
I would prefer to just use a plugin like WP Clone by WP Academy, how I can get it to work?
If not, where are the wordpress files on openshift so I can copy them to my new host?
Thanks.
We are sorry to see you go, please email openshift#redhat.com if we can do anything to help you stay!
If you have to go, we understand though, here is a breakdown of the file locations (assuming you used our quickstart):
~/app-root/data/uploads (files uploaded through wordpress
~/app-root/data/themes (themes uploaded through wordpress)
~/app-root/data/plugins (plugins uploaded through wordpress)
~/app-root/data/blogs.dir (uploads and assets for wordpress multi-site installation)
~/app-root/repo/php (all other wordpress core files)
You can use mysqldump from the command line to get your wordpress database, all of the login information is there in the environment variables, and your database name is the same as your app name.
You can also use the rhc snapshot save command to get a complete backup of your application.
Let us know if you need any more assistance.
Here is instruction how-to migrate from OpenShift
Backup database
Copy all files from server
Modify Wordpress config
Upload to a new server
Restore database backup
Related
I have moved my Wordpress files to another server via SFPT, and I have uploaded Database manually. I can enter the Dashboard and all other features except Posts, when I try to add a new post the errors below are triggered:
Wordpress has a guide for this types of issues
https://wordpress.org/support/topic-tag/white-screen-of-death/
Do try updating your permalink setting from wp-admin, and give a try.
or possibility that your DB was not fully migrated to the new host.
I got my first job as a programmer.
The client gave me the credentials for an ftp server and wordpress admin panel.
I need to fix an issue.
How do I download to source code of the website?
If you want change something in code then you can use any ftp clients. first download code form server and change in file and then you can upload that file.
Use this plugin:
By using this plugin you can download whole file and database without losing anything..
https://wordpress.org/plugins/duplicator/
Video: https://youtu.be/oc73jtvHWYQ
Duplicator gives WordPress users the ability to migrate, copy, move or clone a site from one location to another and also serves as a simple backup utility. Duplicator handles both serialized and base64 serialized string replacement. WordPress migration and WordPress backups are easily handled by this plugin.
I made my wordpress site live by moving it from the staging url (staging.example.com) to the live url(www.example.com).
I wont be working on the site anymore so I have to advice my client on how to manage things on his own from now on.
I have 2 options:
Let the client add blog posts directly on the live. When it comes to installing plugins or
any other changes that might cause the site to break, I can ask him to clone the live site by
using plugins such as wp-staging, test the changes on staging url and if everything works as
expected, then make the same changes in live.
I can ask him to make all the changes (adding posts, plugins etc.) on the staging url first and then transfer the
files to the live url. But how would we transfer the db from stage to live without overwriting the live db?
Also I used this script
to change the url in db but I dont want to let my client use that script because being a non-technical person,
I am afraid that he might end up deleting the entire files on the server or that he might forget to
delete the script after using it.
Or is there a better option? I am new to wordpress. Any help would be greatly appreciated. Thanks.
You could use a backup plugin like backupwordpress or any of the other popular options out there to backup the database and files on a regular basis. Then run the backup right before making any plugin/theme updates.
Well usually staging urls are used when developing plugins or themes. In your case you are simply installing new plugins and adding posts to the WordPress. This is how WordPress is normally used and it does not require a development site.
If your client installs well known WordPress plugins which are well tested, then he should not have any problems with installing them.
My wordpress export option is no longer functioning.
I get the error:
This site can’t be reached
The webpage at http://www.airport-game-lodge.co.za/wp-admin/export.php?download=true&content=all&cat=0&post_author=0&post_start_date=0&post_end_date=0&post_status=0&page_author=0&page_start_date=0&page_end_date=0&page_status=0&attachment_start_date=0&attachment_end_date=0&query=&submit=Download+Export+File might be temporarily down or it may have moved permanently to a new web address.
I have updated my Wordpress Version, as well as my export plugin - but it is still giving the same error ?
I can also not update or delete any plugins at all now ?
Update Failed: {"success":true,"data":{"update":"plugin","slug":"contact-form-7","oldVersion":"Version 3.2.1","newVersion":"Version 4.5","plugin":"contact-form-7/wp-contact-form-7.php","pluginName":"Contact Form 7"}}
Helpful for others - my problem was solved by updating my PHP version
WordPress export option may not work due to your WordPress update which may change the data structure or the object key that preventing the export option to work, but when you are exporting your WordPress from your local PC to your server it's better not to use the export option as yourimages` and URL will not work in your server.
you can easily upload your whole WordPress installation from your local PC to your server, you can get the details instruction from the below URL,
http://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/
but the basic steps are simple
i) export your database from local PC
ii) upload your whole Local PC WordPress folder to your server
iii) import the database to your server
iV) change the option URL from imported database
v) you may have to use the velvet blues wordpress plugin to fix the image urls
for uploading the folder if you use a server like Heroku you may just push your git repo to your server. To Deploy your app with git you can get detail documentation from below url,
https://devcenter.heroku.com/articles/git
I ran into the same error - I deleted all comments made on my blog posts - most were spam anyway, and it worked straight away
I recently moved my old wordpress.com blog into self hosted blog with a my own domain name. So far I have done these things.
transferred my old articles and posts.
installed and activated the Jetpack plugin.
transferred my old blog followers with the help of wordpress support team.
And now I want to get transfer my old blog site stats into new one. Is it possible to do so? At least is there a work around for that?
Thanks in Advance
According to my research, albeit not too in-depth, the vast majority of results seems to point to this not being possible.
Please see -> here <- for more information.
Good luck!
Personally I do not use Jetpack for stats but digging into jetpack it seems that the stats are transferred based on the domain name.
Reference:
http://en.forums.wordpress.com/topic/moving-jetpacked-wporg-installation-to-another-site
So technically as long as you have the same mysite.com address it should retain the stats.
As for transferring wordpress over to your own server, I have done this a couple times and the one that seems to work the best for me is this process.
From Old Server:
Export MySQL database
Copy the whole file directory
From new Server:
Install a copy of Wordpress on your server (just to create the DB and file structure)
Empty the newly created MySQL DB and import the database from the Old Server.
Copy/Replace all files from the old server to the new one except for wp-config.php (since it has new credentials)
Lastly I go into wp-admin -> Settings and save the permalinks to have it resetup the .htaccess
Hope this helps.