Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Saving data for posts, pages, custom post types, comments, custom fields, categories, tags, custom taxonomies, and users. Usually used to migrate to another hosting or add data to another WordPress website.

0
votes
0answers
12 views

An error occurred while attempting to export personal data. Unable to generate export file. ZipArchive not available

I am trying to test the export personal data feature on my Wordpress website. I am already able to send the confirmatory mail and get the confirmation. But as soon as I press "Email Data", I get the ...
1
vote
1answer
20 views

How to export post 2 posts Wordpress plugin data [closed]

I have an old website which uses the post 2 posts plugin (https://wordpress.org/plugins/posts-to-posts). The plug in has been used to set up many relationships between custom post types. However I am ...
1
vote
0answers
11 views

Extending the woocommerce product export functionality

according to: Woocommerce add extra field to variation product I can add additional fields to my variations. The question is, how can I export or import them via the build in importer/exporter. ...
0
votes
1answer
21 views

WordPress importer - How to handle id clashes for featured images

I am facing a wired issue where the featured image is not getting updated properly if the id of the attachment was updated during import Here is the scenario. Assume that you have exported content ...
1
vote
0answers
20 views

Exporting individual custom post type post for deployment?

Sometimes for deployment I will have a user named "exporter" that I assign a post to. I then export all posts by that user and then import them into the live site (easy migration). I'd love to be ...
0
votes
0answers
16 views

How to import several big Import XMLs?

I have a dump of old site content from three years ago which I now need to get back up on my new site. At the time, I was told this was a "WP XML" backup, which I took to mean the kind of thing you ...
2
votes
1answer
20 views

register_post_status invisible but searchable

I need to "hide" some old posts from the I decided to go with a custom post status to keep them hidden but available at a later time (keeps the admin cleaner..) BUT :) I would like to have the posts ...
0
votes
0answers
17 views

custom/automatic export function - one post at a time?

Here is my challenge; I run a real-estate site for a customer. When an apartment or house is sold, it stays as "sold" a couple of weeks, and then is deleted from the site (keeping it tidy). However. A ...
0
votes
0answers
9 views

Error on exporting content from > tools > export content = error

Like the title suggests, every time I try and export 'All Content' (or indeed any post type) and click submit to generate the XML file I'm sent to a 'page not found error' Where should I problem ...
0
votes
0answers
23 views

CSV export from Frontend [duplicate]

i have an custom SQL quarry i need to allow users to DOWNLOAD CSV file from this quarry from their fronted panel SELECT ATT_fname, ATT_lname, ATT_email, ATT_address, ATT_phone FROM ...
0
votes
1answer
18 views

Moving website from localhost to existing website without altering existing live theme

Current situation : I have wordpress website called publishingnext.in which is hosted on one.com I have built another complete website on localhost called conference. What i want guidance for: I ...
0
votes
0answers
17 views

Best way to export real estate listings from one website to several others?

I own many real estate websites on Wordpress. One of them is the main one which contains the listings. How do I make the other websites automatically fetch new listings from the main one?
1
vote
0answers
115 views

How to export post meta with images in wordpress

Hi i have a custom post type in my two websites and i have to to export all posts in that post type and import to second site . So my post type is "products" . Actually i can use wordpress default ...
0
votes
2answers
18 views

Export postmeta (custom fields)

I'm exporting the content of one plugin to another much more robust plugin. In the data I export, there are fields that come with keys. There is a way to export each one independently (in a column ...
0
votes
1answer
156 views

How to export custom database data to excel file

Hi everyone I have the code below, but when I click on the link generated a new page is open with 0 display on it. What I'm doing wrong? function list_reservation_to_csv() { global $wpdb; $...
0
votes
2answers
40 views

How to give my database to a friend for duplication in a secure way [closed]

We have developed a website for a single franchise of an organization. Another franchise has contacted us and asked us if they can have a copy of our work to save time. We are happy to help them. I ...
0
votes
0answers
493 views

How can I export and then import posts with featured images?

I'd like to move a set of posts from one wordpress site to another. WordPress has a native export tool that allows posts to be exported. But this tool doesn't preserve featured images. I'm aware ...
0
votes
0answers
70 views

download automatically custom woocommerce export csv file

need help on the setup of the auto download. Here the idea I want to implement.. I have a custom function to export woocommerce order to csv file. it was a manually downloaded from shop order>>action>...
1
vote
0answers
16 views

Moving media between blogs changes the URL subdirectory [closed]

On wordpress.com, I'm exporting media from one blog and import it into another. Problem: On the source blog, some media files are e.g. in Folder "2014/02", but they get imported into folder "2014/03"....
0
votes
0answers
26 views

Moving Featured Images

I have been moving around 40k posts from one site to another (different domains), using wp cli, all went well, but it seems the featured image weren't imported. I have now uploaded all media files ...
0
votes
2answers
30 views

How to preparing theme for new users? Export ready theme

I'm working on the WordPress theme, I want to ask how to do the demo content, how to EXPORT the all - menu, pictures, texts, widgets, everything? I also made require download plugins whit TGM Plugin ...
0
votes
0answers
21 views

Trying to get production WooCommerce customer/order data to dev site

I'm trying to get customer data and orders from a production site to a new dev site (production data, but 3 months old). The dev site is totally new, the only data I want from production is: users, ...
0
votes
1answer
21 views

Merge two wordpress sites

I have been looking for an way to export 40.000 posts and 20.000 media files from one wordpress site (site A) to another site (site B). Site B already have data. If I do a export and import directly ...
0
votes
0answers
74 views

How to export and import WooCommerce Products with custom attributes?

Dears, I have more than 2,000 products in my site with custom attributes. Some products has it some product don't. I want to export and import all the products with the custom attribute to the new ...
0
votes
0answers
14 views

Imported wordpress blog uploads media but doesn't change the image links

I exported all the wp blog posts using the default wordpress export tool. Then i imported the xml file using the default import tool. There were 2 xml files in the zip file which I extracted. I ...
0
votes
0answers
152 views

How can I export data in csv format by using iframe

When export button is clicked, I would like to start processing of exporting csv file in the iframe. Currently prefix_export_custom_box() function itself is worked. But exporting function is not ...
0
votes
1answer
61 views

Import users from old WP site to new one

I want to import existing users with their passwords from an old WordPress site to a new one. The new WordPress installation has also existing users. Therefore I couldn't simply export/import the ...
0
votes
0answers
30 views

Wordpress plugin/theme or other wayout to create portable pages?

Here is my problem - I have my production server running my wordpress site. I have mirrored the site on my localhost to play around and make updates before I push them to production. Staging process ...
1
vote
1answer
81 views

How can I export post data in xml format?

Just want to ask simple thing how can I fetch post data and save it into XML format. Is it possible and good idea to fetch data from WordPress rest API and exports it in XML format using export_wp() ...
0
votes
0answers
478 views

How can I export data without using any import/export plugin

I am making a theme for myself so I have made simple theme options for customization I just want to add export function triggered by a button. I have checked these two examples Problem: Create a ...
0
votes
0answers
658 views

Export All Posts and Media to XML and/or Word

Would like to be able to export all posts and their embedded media into a well-formed XML document - or even better, a Word document. I need all posts in date order. Posts have pictures included from ...
0
votes
1answer
60 views

Does Wordpress Import/Export tool actually exports media (images) as well?

I need to reinstall WP from scratch due to malware. Can reliably use the built-in Import/Export tool (Tools > Import/Export)? It appears it only gives me an XML file. What can I do to ensure all ...
0
votes
0answers
412 views

Why is my 'export' option missing?

My tools>export option has vanished - even when reverting to the default TwentySeventeen theme. Direct access to /wp-admin/export.php delivers 'Sorry, you are not allowed to access this page.' I'm ...
0
votes
0answers
44 views

Changing headers for an export from within a PHP class extension

I'm trying to alter a plugin (WP Log Action) to allow for exporting of a table in the WP Admin area. Alas, instead of a CSV file I get the results printed to the screen and the classic old "WARNING: ...
0
votes
0answers
20 views

Can I transfer media to remote hosting when migrating from wp.com to wp.org?

I’m migrating my client’s site from WP.com to self-hosted WP.org. Her blog is 5 years old and has over 1200 posts and over 20 000 comments. WP.com says that the old media alone takes up to 8Gb of ...
1
vote
2answers
61 views

Moving wordpress site to subpage of another site

So I'm in a scenario where our company has site.com and we acquired an organization who now operates under our name. I would like to move their entire site as a subpage of our site, so site.com/...
3
votes
1answer
23 views

Suggestions for WPMU Migration (advanced)

We have a multisite network with a few hundred sites. We are currently merging with another company and migrating our sites. However we have a few clients who have decided to jump ship and are asking ...
2
votes
0answers
22 views

Is it possible to recover featured images after WordPress export/import

We recently moved all of the posts from a production site into a development site using the WordPress export/import routine and we realized that none of the features images came over. A little ...
0
votes
1answer
32 views

How to import and update images/galleries that point to an old site

So I have two sites. Old site with old domain and new site with new domain. I've exported some posts. They have images, so when I done the import, they obviously reference the old site. Some posts ...
1
vote
1answer
11k views

Export navigation menu

I want to export all navigation menu's from one site and import the menu's in another site. I have tried to export the tables: wp_posts wp_postmeta wp_terms wp_termmeta wp_term_relationships And ...
1
vote
0answers
359 views

Export Specific User data without plugin

I need to export a list of site users to a csv/xlsx file. I am creating an admin page with a download button which should run the export function. I need to export the following data from wp_users: ...
1
vote
1answer
2k views

Unknown collation when I import a dump from an existing site into a development database?

I exported the sql from an existing database for an existing site that's hosted on Bluehost. I'd like to be able to import it into the development environment without hitting an issue; I'm flexible,...
1
vote
1answer
91 views

What is the difference between wp-admin>Export>All content and MySql dump and import

What is the difference between: Using the WP-Admin console to do an "All content" export of an existing Wordpress site and similar import on a fresh install of Wordpress on a different server, AND ...
0
votes
0answers
1k views

Button to download export data Wordpress in CSV file

i need my own download button to get a csv of my users, i know lot of plugins did that but i really need to create mine. I found some post there but i really don't know why mine doesn't work So i ...
0
votes
1answer
52 views

get csv of users with user_meta

i would like to export all users with user_metas. Right now my sql looks like that SELECT u.ID, u.user_email, u.display_name, um1.meta_value AS first_name, um2.meta_value AS ...
0
votes
2answers
319 views

Moving media library to the media library of completely different site

I've got about 300 images in the media library of one WordPress install. I need to move these to the media library of a completely different WP site. This is NOT a full-site migration to a new URL. ...
0
votes
1answer
539 views

Overwrite posts/pages via import

I have a bunch of live sites that I'm debating bringing into a multisite installation. It would take a bit to set up and configure, of course, and ideally I'd do it locally over a period of time, then ...
0
votes
1answer
213 views

Extract wordpress posts content and category content

I got client that built a learning course with wordpress. The learning course has 8 categories and within each category there are 20-50 posts assigned in order. I am trying to figure out a way to ...
0
votes
1answer
40 views

How to add a timestamp to the exported WXR filename?

I have no working code example for this, so I'm hoping to not get blasted for an an inappropriate question... Being able to add append a timestamp to WP xml exports (WXR) would be useful. I assume ...
0
votes
1answer
240 views

Get WP All Export row ID

Is there a way to get current row's ID/number while exporting orders with WP All Export plugin (http://www.wpallimport.com/export/)? First row would contains the columns' name, but we need that the ...