Affichage des articles dont le libellé est Export. Afficher tous les articles
Affichage des articles dont le libellé est Export. Afficher tous les articles

samedi 12 novembre 2016

How to Easily Import and Export WordPress Users



Do you want to import and export WordPress users from one site to another? This could be really helpful when you are merging sites and want to automatically add all users from existing websites. In this article, we will show you how to easily import and export users in WordPress.


Import & Export WordPress Users


Why or When You May Need to Import & Export Users in WordPress?


While there are several use-cases for importing and exporting WordPress users, the three most common scenarios when you need to import / export users are:



  • When you purchase a website and want to merge the content and user base.

  • When you want to consolidate two sites and merge their content and user base.

  • When you want to import all users into an email list or your CRM.


On large multi-author sites or a membership site in WordPress, each user profile has tons of useful data (like profile photo, bio information, social links, and more).


While you can surely ask them to recreate their profile, it’s inconvenient and not an ideal user experience.


Having said that, let’s see how to easily import and export users from one WordPress site to another.


Video Tutorial



If you don’t like the video or need more instructions, then continue reading.


Export Users in WordPress


First thing you need to do is install and activate the Cimy User Manager plugin. For more details, see our step by step guide on how to install a WordPress plugin.


Upon activation, you need to visit Users » Cimy User Manager page and scroll down to the export section.


Exporting users


The plugin will show you the upload path and will ensure that it’s writable. This is where your export CSV file will be stored.


By default, the plugin will use commas to separate fields and quotes as text delimiter.


If you will be using this CSV file elsewhere and need to change these values, then you can do so here. Otherwise, you can leave them as they are.


Next, you need to select how you want to sort rows in your export file. By default, the plugin will add users by their registration date. You can change that to sort by login name, username, email, or post count.


If you will be using the CSV file with Microsoft Excel, then you can check the box next to Enable Excel compatibility mode option.


If you have used Cimy User Extra Fields plugin, then the last option allows you to include that data into the CSV file as well.


Once you are done with the options, you need to click on the Export button. The plugin will now export your WordPress user data and save it as a CSV file on your server.


You will see a success message with a download button along with the list of users exported to the CSV file. Simply click the download button to save the file in your computer.


You can now use this file to import users into another WordPress site.


Import Users in WordPress


This step will also require the same Cimy User Manager plugin that we used above to export users. Make sure that you have this plugin installed and activated on the site where you want to import users.


Next you need to visit Users » Cimy User Manager page to import users.


Import users from CSV file


First you need to click on the choose file button and select the CSV file you want to import. If your CSV file uses different delimiters than comma and double quotes, then you need to change them here.


You also need to check the box next to Create Users option. This will allow the plugin to create new users with the information in your CSV file.


Under the email notifications, you can check the options to send new users their account details and send password to existing users.


Finally, you can click on the Import button.


The plugin will now upload your CSV file from your computer and import users into your WordPress database.


You will see a success message with details on how many users imported, created, or modified during the process.


Users successfully imported into WordPress


The plugin will not only import users, it will also automatically assign them correct user role and fill in other profile settings.


New users created by the plugin will receive emails about setting up their passwords. If your users didn’t receive the emails, then you may want to check our guide on how to fix WordPress not sending email issue.


We hope this article helped you learn how to easily import/export users in WordPress. You may also want to see our list of 13 free user management plugins for WordPress.


If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.


The post How to Easily Import and Export WordPress Users appeared first on WPBeginner.







How to Export All WordPress URLs in Plain Text



Recently, one of our users asked us if it was possible to export all WordPress URLs in plain text or a CSV file? Sometimes you may need those URLs for migrating a website or setting up redirects. In this article, we will show you how to export all WordPress URLs in plain text.


Export all WordPress URLs in plain text


Why You May Need to Export All WordPress URLs in Plain Text?


WordPress comes with built-in tools to export content in an XML file. You can use this file to import your content into another WordPress site.


These tools allow you to move WordPress to a new domain name or transfer from local server to a live site.


However, sometimes you may need a list of URLs for a number of reasons. You may need to setup redirects to a new website. You may need to share URLs with an SEO team or setup tracking using some SEO tools.


Now that you know the use-case, let’s see how you can easily export all URLs from your WordPress site to a text file.


Exporting WordPress URLs in Text and CSV Format


First thing you need to do is install and activate the Export All URLs plugin. For more details, see our step by step guide on how to install a WordPress plugin.


Upon activation, you need to visit Settings » Export All URLs page. The plugin allows you to export URLs for all your posts, pages, and custom post types. You can also limit it to selected post types if you want.


Export all URLs settings page


You can also select what data you want to export. The plugin allows you to export URLs, title, categories. There is also an option to either export this data in a CSV file or display it right on the settings page.


Click on the ‘Export’ button to continue.


Depending on your settings, the plugin will either display the data on the plugin’s settings page or export it in a CSV file.


Exported data


CSV files are plain text files with comma separated values. You can open these files in a plain text editor. You can also open them in a spreadsheet software like Microsoft Excel, Numbers, or Google Sheets.


That’s all, we hope this article helped you learn how to export all WordPress URLs in plain text. You may also want to see our comparison of the best WordPress backup plugins to keep your content safe.


If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.


The post How to Export All WordPress URLs in Plain Text appeared first on WPBeginner.