How to Import and Export Navigation Menus in WordPress

Affiliate Disclaimer: This site is supported by its visitors. We may earn a commission for purchases made through the links on our site, this helps to keep everything running smoothly. Learn More

Last Updated on January 9, 2023

How to Import and Export Navigation Menus in WordPress

The default WordPress import and export feature lets you move menus in the complete transfer of your site, however, it doesn’t let you import or export menus them.

This article will explain how you can import or export navigation menus from WordPress to help you reduce time.

Understanding WordPress’s Import & Export Features

On each WordPress website, you will find built-in export and import features. These are available in the section Tools >> Import and Tools >> Export on the WordPress dashboard.

If you visit the Export page, you’ll be able to see options similar to the WordPress standard options. You can choose between exporting all content or only your blog posts pages, pages, or media.

All content is accessible via the Navigation menu … as well as comments, posts, pages, custom fields, terms, and customized types of posts.

In many instances, it isn’t necessary to transfer all of your content. In other words, for instance, you may simply want to duplicate your navigation menu as well as the pages that are included, however, not your blog posts or any other pages.

There’s a simple plugin that can extend this function and allows you to export and import navigation menus within WordPress.

Let’s examine how you can import or export menus for navigation without exporting the entire contents.

Export and Import Navigation Menus in WordPress

Before proceeding, ensure that you’re satisfied with the menu you’ll export.

The next step is downloading and activating the menu exporter WPS plugin.

After activation, you will need to go to the Tools> Export page on the WordPress administrator dashboard.

There should be another option to export your navigation menu items. This includes the menu itself, as well as every page connected to your menu.

If you have any articles on your menu, they will also be added, as will any comments made on them.

Simply click from the Navigation Menu Items radio button and then click on the Download Export File button.

This allows you to save your menu navigation and the pages that go with it to your pc. These are stored in an .xml file.

Importing Your WordPress Menu to Your New Site

You can transfer the .xml file that you downloaded by using the standard Import feature of WordPress. It’s an easy process. It’s as easy as uploading the navigation menu to your new website.

Make sure that you do not have any pages that have the same name as the pages you’re trying to import and are not in the trash. If you don’t, the importer might not be able to properly import the pages.

The first step is to sign in to your WordPress dashboard on the new website where you’d like to upload your menu.

Next, go to Tools >> Import. Simply click Install Now at the bottom of the page.

After you’ve installed the WordPress importer, you’ll be able to see a ‘Run Importer’ link in place of the Install Now button.

You’ll be presented with an Import WordPress page when you click the link above. You’ll have to select the ‘Choose File button to choose the .xml file that you downloaded previously.

After you’ve chosen the file you want to upload, proceed and select the ‘Upload file and import’ button.

On the next screen, you’ll be asked to assign Authors’. The default choice will be to use the author who was originally in charge of the menu’s content.

In most cases, it will be the best option to assign already existing users as the creator of the content imported. It’s as easy as choosing the user’s name from the menu dropdown.

If you intend to reuse the contents of the pages in the pages, you’ll be required to tick the ‘Download and import attachments in the box. This implies the images are added to the import.

If you’re satisfied with your settings, hit the “Submit” button at the end on the screen.

After completion, you will be able to see the following message:

Viewing Your Imported Menu and Pages

The import has placed your menu, as well as the pages into place. If you want to look over the imported menu, simply go to Appearance > Menus. There, you can be sure that the menu has been properly imported.

You can also click the Pages tab on the dashboard of your WordPress dashboard to view the new pages which have been imported with the navigation.

You’ve successfully transferred your navigation menu and the pages that go with it. You can edit the menu and pages as you wish.

And that’s it!

More Posts