Settings export and import
Copy Hydrogen SEO settings to another site with a JSON file. Secrets and site-specific values stay behind, every change is previewed, and an import can be undone once.
On this page
From version 0.0.36 you can copy Hydrogen SEO's settings from one site to another with a file. Set up one site the way you want it, export its settings, and import the file on a new site, a staging copy or a client site. The import shows every change before anything is saved, and you can undo it once.
It lives on the same screen as the importer for other SEO plugins: Hydrogen SEO → Tools → Import SEO Data, in the panel Copy Hydrogen SEO settings between sites. To bring settings across from Yoast SEO, Rank Math or another plugin instead, see switch from another SEO plugin.
What the file contains
The file is JSON, with one section per area of the plugin:
- General and global SEO settings
- Titles & Meta
- Homepage
- Social
- Schema
- Robots
- Robots.txt
- Breadcrumbs
- Sitemap
- Instant Indexing
- Automatic redirects (the Auto Redirection switch, not the rules)
- 404 Monitor
- Link counter
- Content AI
It is configuration only. Per-post and per-term SEO fields, such as a page's own title or description, do not travel this way.
What is left out
Some values belong to one site, or are secrets, so they are never written to the file. If a file contains them anyway, the import ignores them. The Export settings card lists them under Left out of the file, and every file carries the same list:
- The Hydrogen SEO API key and any AI provider key
- The Hydrogen AI connection, its instructions and approval policy, and the AI Abilities switch
- The IndexNow key (each site gets its own)
- Webmaster Tools verification codes (they prove ownership of this domain)
- Role Manager permissions
- Redirect rules, the 404 log and llms.txt content (they describe this site's pages)
- Media library IDs for default images and logos (the image URLs are kept)
- Setup wizard progress, usage-tracking consent and internal state
- Per-post and per-term SEO fields
- Per-module settings other than Social (such as SEO analysis options and which post types show the SEO sheet), and content embedding settings
Credential keys are removed wherever they appear in a section, not only in the list above. For example, the YouTube API key in the video sitemap settings is left out of the Sitemap section.
On the new site, redo these by hand: enter the API key, add the verification codes for the new domain, switch on Instant Indexing so the site creates its own key, set up role access, and add redirects if the new site needs any.
Export
- On the site you want to copy, open Hydrogen SEO → Tools → Import SEO Data.
- In Export settings, click Export settings.
The browser downloads a file named like hydrogen-seo-settings-example.com-2026-11-26.json.
Import
- On the other site, open Hydrogen SEO → Tools → Import SEO Data.
- In Import settings, click Choose file and pick the
.jsonfile. Nothing is saved yet. - Read the preview. It starts with a line such as "From https://example.com/: 12 changes on this site.", then lists each section that would change with a table of Setting, Now and After import. Up to 100 changes are listed per section.
- Read any notes above the tables. If values in the file still mention the site it came from, the preview names the sections, for example a
Sitemap:line in robots.txt. Those values are imported as they are, so fix them afterwards. - Check the Ignored line at the bottom, if there is one. It lists values that were skipped because this site does not know them, or because they are secret or site-specific.
- Click Import (the button shows the number of changes), or Cancel. When the file matches this site's settings already, the button reads Nothing to import.
Things to know:
- Every value is checked the way the settings screen checks it. The import saves each section through the same sanitizer and validation as its screen in the dashboard, so a file cannot store a value the screen would refuse. A section that fails validation stops the preview with the reason.
- Settings the file does not mention are left alone. Values in the file replace the current ones; anything else stays as it is.
- Unknown settings are skipped. A setting this site does not have, for example a post type that is not registered here, is dropped and listed as ignored. Register the post type first and import again if it matters.
- The file is read as JSON only, up to 1 MB. Anything larger is refused, as is a file that is not a Hydrogen SEO settings export. A file exported by a newer version of Hydrogen SEO asks you to update the plugin on this site first.
Undo
After an import, the panel shows Last import: with the date and the sections it changed, and an Undo import button. Undo puts back the values the import replaced, after you confirm.
- It works once. After an undo, or after the next import, the earlier backup is gone.
- It covers whole sections. Anything you changed by hand since the import, in a section the import touched, goes back too. Check the result straight after importing rather than weeks later.
Who can use it
Administrators only, meaning roles that can manage options. The Manage SEO settings permission in the Role Manager does not include exporting, importing or undoing an import, because an import can change every setting on the site at once.
Copying from a staging site
A staging site often has search engines kept out on purpose. Before importing its settings on a live site, look at the Robots section of the preview for noindex values you do not want, and check robots.txt in the Robots.txt section. Copying a staging site's noindex to a live site would hide it from search.
With Hydrogen AI
An administrator can ask Hydrogen AI to export the settings, or to preview and import a settings file. The agent reads you the list of what was left out, shows the changes section by section, and imports only after you agree. Importing and undoing are marked as permanent changes, so under the default policy the agent asks before either.
FAQ
Does this copy my redirects?
No. Redirect rules describe one site's addresses, so they stay behind. To move redirects between sites, use Export CSV and Import CSV on the Redirections screen.
Does importing change any posts?
No. Only site-wide settings are changed. Per-post and per-term SEO fields are not in the file.