WordPress Importer

Beschreibung

Der WordPress Importer kann folgende Inhalte aus einer WordPress-Export-Datei importieren:

  • Beiträge, Seiten und andere individuelle Inhaltstypen
  • Kommentare und zugehörige Metadaten
  • Individuelle Felder und Beitragsmeta
  • Kategorien, Schlagwörter und Begriffe aus individuellen Taxonomien und Begriffsmetadaten
  • Autoren

Weitere Informationen und Anweisungen findest du in der Dokumentation zum Importieren von Inhalten.

Filter

Der Importer bietet einige Filter, die dir erlauben bestimmte Funktionalitäten komplett zu aktivieren/blockieren:

  • import_allow_create_users: Gib false zurück, wenn du nur die Zuordnung zu bestehenden Benutzern erlauben möchtest
  • import_allow_fetch_attachments: Gib false zurück, wenn du das Importieren und Herunterladen von Anhängen nicht zulassen möchtest
  • import_attachment_size_limit: Gibt einen ganzzahligen Wert für die maximale Dateigröße in Bytes zurück, die gespeichert werden soll (Standardwert ist 0, was unbegrenzt bedeutet)

Es gibt auch ein paar Action-Hooks:

  • import_start: Erfolgt, nachdem die Exportdatei hochgeladen wurde und die Einstellungen für den Autorenimport gewählt wurden
  • import_end: Aufruf nach der letzten Ausgabe des Importers

Installation

Die schnellste Methode, um den Importer zu installieren ist:

  1. Gehe zu Werkzeuge > Daten importieren im WordPress-Dashboard
  2. Klicke auf den WordPress-Link in der Lister der Importer
  3. Klicke „Jetzt installieren“
  4. Zum Schluss klicke „Importer ausführen“

Falls du es vorziehst Dinge manuell einzurichten, dann folge diesen Anweisungen:

  1. Lade den wordpress-importer-Ordner in das /wp-content/plugins/-Verzeichnis
  2. Aktiviere das Plugin mittels dem ‚Plugins‘-Menü in WordPress
  3. Gehe zu Werkzeuge > Daten importieren, klicke auf WordPress

FAQ

Hilfe! Ich bekomme Fehlermeldungen wegen zu geringem Speicher oder einfach nur eine leere Seite.

Wenn deine Exportdatei sehr groß ist, kann es passieren, dass das Importskript am PHP-Speicherlimit deines Hosts scheitert.

Eine Meldung wie „Fatal error: Allowed memory size of 8388608 bytes exhausted“ (erlaubte Speichergröße von 8388608 Bytes ausgeschöpft) bedeutet, dass das Skript Ihre XML-Datei nicht erfolgreich unter dem aktuellen PHP-Arbeitsspeicherlimit importieren kann. Wenn du Zugriff auf die Datei php.ini hast, kannst du das Limit manuell erhöhen; wenn nicht (z. B. weil deine WordPress-Installation auf einem gemeinsam genutzten Server gehostet wird), musst du deine exportierte XML-Datei möglicherweise in mehrere kleinere Teile aufteilen und das Import-Skript nach und nach ausführen.

Bei gemeinsam genutztem Hosting besteht die beste Alternative darin, den Hosting-Support zu konsultieren, um die sicherste Methode für die Ausführung des Imports zu ermitteln. Möglicherweise ist der Hoster bereit, die Arbeitsspeicherbegrenzung vorübergehend aufzuheben und/oder den Prozess direkt von seinem System aus durchzuführen.

Support-Artikel: Inhalte importieren

Rezensionen

13. Februar 2023
I love this plugin. Super easy to use and works as expected for a "free" plugin. Not sure why there are so many bad reviews as this plugin is super helpful.My guess/assumption on the bad reviews is that people are having issues with their webhost and that is reflected in their experience/reviews with this plugin???
6. Oktober 2022
This is a very useful plugin and a must-have within every WordPress instance. There is one thing I hoped the latest update to version 0.8 would have fixed. Unfortunately not. If you have to refresh your WordPress Website, you can export all content with these PlugIn and also import it in your fresh install. Works great! BUT, why is the nesting of categories flattened after import? I'd be so damn happy if this PlugIn would keep the structure of nested categories in the next update, that I'd rate it with 5 stars 🙂 I'm using a PlugIn that depends on nested categories. As this PlugIn created thousands of categories that would require days of work to nest that categories as it is supposed to be. So I can't do a WordPress refresh for that website, even though it's more than overdue. Please make importing content from WordPress to WordPress keep the nesting of categories for all post types' categories...
30. Mai 2022 1 Antwort
This plugin is still linked within WP 6 in the Tools tab. I just used it to transfer my blog to a new web host. Then Wordfence told me it was probably abandoned. Shock. Hey, Wordpressdotorg, you may want to give this a look over and certify it for the most recent version.
26. April 2022 3 Antworten
It's a great plugin but it doesn't look like the code is being maintained anymore. That's not cool for such an important plugin. "hasn’t been tested with the latest 3 major releases of WordPress" Is there an alternative that works in the same way? I'd rather be using a plugin that I know won't die with the next WP or PHP upgrade.
8. März 2022
Oldies but Goldie's! Does what it's supposed to, no more, no less. Caution: Elements that were already published, are also public immediately after import 😉
Alle 303 Rezensionen lesen

Mitwirkende & Entwickler

„WordPress Importer“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„WordPress Importer“ wurde in 58 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „WordPress Importer“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

0.8.1

  • Update compatibility tested-up-to to WordPress 6.2.
  • Update paths to build status badges.

0.8

  • Update minimum WordPress requirement to 5.2.
  • Update minimum PHP requirement to 5.6.
  • Update compatibility tested-up-to to WordPress 6.1.
  • PHP 8.0, 8.1, and 8.2 compatibility fixes.
  • Fix a bug causing blank lines in content to be ignored when using the Regex Parser.
  • Fix a bug resulting in a PHP fatal error when IMPORT_DEBUG is enabled and a category creation error occurs.
  • Improved Unit testing & automated testing.

0.7

  • Update minimum WordPress requirement to 3.7 and ensure compatibility with PHP 7.4.
  • Fix bug that caused not importing term meta.
  • Fix bug that caused slashes to be stripped from imported meta data.
  • Fix bug that prevented import of serialized meta data.
  • Fix file size check after download of remote files with HTTP compression enabled.
  • Improve accessibility of form fields by adding missing labels.
  • Improve imports for remote file URLs without name and/or extension.
  • Add support for wp:base_blog_url field to allow importing multiple files with WP-CLI.
  • Add support for term meta parsing when using the regular expressions or XML parser.
  • Developers: All PHP classes have been moved into their own files.
  • Developers: Allow to change IMPORT_DEBUG via wp-config.php and change default value to the value of WP_DEBUG.

0.6.4

  • Improve PHP7 compatibility.
  • Fix bug that caused slashes to be stripped from imported comments.
  • Fix for various deprecation notices including wp_get_http() and screen_icon().
  • Fix for importing export files with multiline term meta data.

0.6.3

  • Add support for import term metadata.
  • Fix bug that caused slashes to be stripped from imported content.
  • Fix bug that caused characters to be stripped inside of CDATA in some cases.
  • Fix PHP notices.

0.6.2

0.6

  • Support for WXR 1.2 and multiple CDATA sections
  • Post aren’t duplicates if their post_type’s are different

0.5.2

  • Double check that the uploaded export file exists before processing it. This prevents incorrect error messages when
    an export file is uploaded to a server with bad permissions and WordPress 3.3 or 3.3.1 is being used.

0.5

  • Import comment meta (requires export from WordPress 3.2)
  • Minor bugfixes and enhancements

0.4

  • Map comment user_id where possible
  • Import attachments from wp:attachment_url
  • Upload attachments to correct directory
  • Remap resized image URLs correctly

0.3

  • Use an XML Parser if possible
  • Proper import support for nav menus
  • … and much more, see Trac ticket #15197

0.1

  • Erstveröffentlichung