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
Related
We have a dev site www.dev.site.co.za & a live site www.site.co.za.
I wanted the dev site updated to be a current replica of the live site, so our hosting provider copied it over.
But now when if you go to www.dev.site.co.za, you are "redirected" to www.site.co.za. I have tried changing the siteurl in phpmyadmin but that hasn't resolved the issue.
Is there somewhere else the url needs to corrected and is there anything else I need to do to make sure the dev site is a completely separate environment to the live site so I can safely fiddle without damaging the live site?
wordpress not only uses the database in PHPMyAdmin for the url.
As mentioned in the official documentation there are several files that can include the url:
the wp-config.php (wordpress file)
the functions.php (theme file)
Check these and have a look for the url address.
Have a look at the .htaccess file!
Also:
Helpful for that issue (e.g. restoring a wordpress page on another server) is the plugin BackupBuddy. It is one of the most well known plugins for wordpress. (Know right now that it is a paid version! But as always there are others with the functionality).
It allows you to backup and restore your page on a new system. You can initially set your new desired address for the system then.
Maybe it is worth a look!
For rectifying your dev site issue, you can try this.
Following is the URL to a simple utility via which you can replace some value in your database with some desired value.
https://github.com/interconnectit/Search-Replace-DB
Download the utility (zip file).
Upload it to your dev site root location and unzip it there. So that the the URL of the unzipped folder becomes: www.dev.site.co.za/Search-Replace-DB-master/.
Visiting that URL will show you the screen with options to replace some values in your database with desired values.
This utility automatically selected the connected database.
Put the URL of your live site in the field to replace.
Put the URL of your dev site in the field to replace with.
Choose the Dry Run option to see what all tables and columns will be affected.
Once you see the results and know what is changing then you the click on Live Run.
Clicking on Live Run will change all the URL of your live site in dev site database with URL of your dev site.
Once the changes are done you can delete this folder.
Hope this will at least resolve the problem of redirection of dev site to live site.
Once the new site is built you can then migrate(move, copy) it to the live site's location. There are some tools out there to help with moving the site you can use once the site is done. Some require a plugin to be installed to do that though. For example magicmigration can be used to move the completed site to a new location (that one specifically doesn't take extra installs). It is also possible to manually migrate the site though depending on the situation and know-how that can be a bit much for some people.
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.
I am new to drupal.I have to work on Live website with drupal 7. This website is working fine. I downloaded the website on my localhost.Home page of the website works fine.But when I click on any link in menu it shows me page not found.When I checked the url it is showing me like this:
http://Locahost/page/category/she.php
But when I check my project page and category folders arenot present.Also when I searched on live website these folder are not there also. But on live server it works fine.Url on live server is like this:
http://mywebsite.com/page/category/she.php
But Page and category folders are not there. I am a new to drupal. Any help to resolve this url generation issue will be appreciated.
After checking for possible misconfogurations as outlined by jpschroeder's you could try using the Backup and Migrate module.
Use the default settings and the cache tables will not be saved in your backup. You don't need them, as they will be re-created on the new server as pages are served for the first time there.
There's a good tutorial on this at http://www.seascapewebdesign.com/blog/how-transfer-your-website-one-server-another
I have a live WordPress website which is based on WooCommerce, now I have another website (uploaded on QA Server) which is updated version of live site, Some extra plugins also installed in it.
Now I have to replace live site with Updated version of it which is uploaded on QA Server, plus I have to save all transactions of live site (so replacing database is not a good option).
What to do?
My favorite tool for migrating WP databases is: WP Migrate DB Pro
But the answer largely depends on what you've updated on the testing site. Using the above plugin you could pull all the database tables except wp_posts and wp_postmeta and that should get you any new options you've configured with your new plugins without overwriting your Orders.
Granted this means you would you not automatically pull in any new pages/posts/products, etc either. But for that could use the Import method described in sanki's answer.
Login to your QA server's wp-admin.
Then hover over => "Tools"
Click on export and then select "orders".
Then hit "Download Export File" button. You'll get an xml file as download.
Now move on to the LIVE site,login to admin panel.
Again hover over => "Tools"
Click on Import and then "Wordpress"
Then on file window select the exported xml file and you are done.
Transactions will be imported on the live site.
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