This page explains the two ways to move a WordPress site to RustPress, what comes across, and what happens to themes and plugins.
Two paths
| Path | How | Good for |
|---|---|---|
| Import a WordPress export (WXR) | Export from WordPress, import the .xml or .zip into RustPress | A fresh RustPress site on any database |
| Run on the WordPress database | Point RustPress at your WordPress MySQL or MariaDB database | Keeping everything as is, users and passwords included |
Path 1: Import a WordPress export
- In WordPress, go to Tools › Export and choose All content.
- In RustPress, go to Tools › Import and upload the .xml (or .zip) file.
The import runs in the background with a progress bar. Running it again skips what is already there.
What comes across
- Posts, pages and custom post types
- Comments
- Categories and tags
- Custom fields
- Featured images
- Menus
- Authors
Attachments are downloaded into the Media Library with thumbnails, and links in your content are updated to point at them.
Import from the shell
rp import export.xml [--author LOGIN] [--create-users] [--no-attachments] [--allow-local-attachments]
--author LOGIN: assign imported content to this user.--create-users: create users for the authors in the file.--no-attachments: skip downloading attachments.--allow-local-attachments: allow downloads when the old site is on this computer or local network. Without it, attachments are only downloaded from public addresses.
Path 2: Run on your WordPress database
Point RustPress at your WordPress MySQL or MariaDB database, either in the setup wizard or by setting database_url and table_prefix in rp-config.toml:
database_url = "mysql://user:password@127.0.0.1:3306/wordpress"
table_prefix = "wp_"
The site runs as is, users and passwords included. Menus and widgets are stored exactly like WordPress stores them.
Passwords
WordPress password hashes ($wp$ bcrypt, phpass and md5) verify, so your users log in with their existing passwords.
Going back to PHP WordPress
The move works both ways. RustPress reads PHP-serialized roles and options and writes structured values back PHP-serialized, so PHP WordPress keeps reading the same database. This is covered by a two-way test against a database installed by PHP WordPress.
Themes
Upload a WordPress theme zip under Appearance › Add New Theme, or use rp theme install FILE.zip --convert.
- Block themes convert fully: theme.json styles and fonts, templates, parts, patterns, query loops and navigation.
- Classic PHP themes keep their stylesheet and assets on starter templates.
Each conversion writes a CONVERSION.md file listing what was left out. You can also let the WordPress Migrator agent rebuild the theme. See Themes for details.
Plugins
- Classic PHP plugins that stick to common WordPress functions run through the PHP SDK.
- For other plugins, upload the zip in the AI chat and an agent rebuilds it natively. See AI agents and Plugins.
What does not run
Large plugins built on WordPress internals, such as WooCommerce, Yoast and Elementor, install but will not activate. The installer tells you when this is the case. For more on limits, see Safety and limits.