How to transfer comments, members, and SEO metadata completely

A WordPress migration is not just about changing the address. While the posts may remain intact, comments may disappear, members may be unable to log in, and even the titles and descriptions in search results may become blank.

The reason you might be looking for this article is likely similar. You probably want to know if it’s possible to migrate a website without losing comment data, member information, or search optimization data. There is much more data that is not visible on the screen than what you see.

The answer is clear. You must carefully check where each item is stored and move both the files and the database.

You will realize that the move is complete once you have only moved the documents.

The data to be migrated from WordPress can be broadly divided into two categories. The database will contain posts, comments, links, and settings. The file area will contain the WordPress core files, themes, plugins, uploaded images and files, and configuration files.

The list of posts is nothing more than a single box.

Comments and member information are stored in the database, and member roles and permissions are also stored separately, categorized by settings and individual member information. The default member roles in WordPress are six: super administrator, administrator, editor, author, contributor, and subscriber.

If only the member list is transferred and the permission information is omitted, the same person will receive completely different access keys. Logging in is not the end of the process.

The default export file is not a universal solution.

The “Export” function in the tools menu can include not only posts and pages, but also comments, custom fields, categories, tags, and even users in a WXR XML file. At first glance, it may seem that a single file is sufficient.

However, the official instructions state that to ensure a complete restoration, the database and WordPress files should be backed up separately. While XML files can transfer various pieces of information, they do not guarantee a complete replication of the website, including themes, plugins, and uploaded files.

XML is not a copy.

The SEO plugin stores the SEO title and meta description as separate data. If the plugin itself has import and export functions, those should be used; it should not be treated as a full site copy.

The correct answer is to perform a complete copy and, if the domain is changed, to organize the address.

The standard procedure involves changing only the server, in which case the files and database are backed up at the same time and restored to the new server. If the domain is also changed, then address substitution and search engine migration procedures are added to this process.

First, create a list showing how the old addresses correspond to the new addresses. Next, you must check not only the database’s siteurl and home values, but also any old addresses remaining in post content, widgets, and plugin settings.

When changing the address, avoid simple string replacements. The official WordPress documentation states that serialized data, which includes the address length, can be corrupted, and recommends using search and replace tools that understand this.

Even changing a single address can break the structure.

Finally, set up a 301 or 308 permanent redirect from the old address to the new address. Google states that these permanent redirects will not negatively impact search rankings, and recommends updating the canonical URL and internal links of the new site to the new address.

Comments and members should be organized as relationships, not as lists.

Comments are not simply a collection of sentences attached to a post. They are data that move together with the author, email address, date, linked post, parent comment, approval status, and additional information.

Therefore, simply re-entering the comment text can change the reply structure or approval status. Comments and members must be preserved together within the original database to maintain relationships and permissions.

When a relationship is lost, the records change.

When migrating directly, this is the area where problems most frequently occur. While files may be uploaded to the new server, users may be unable to log in, comments may be visible but incorrectly linked to authors, or plugin settings may revert to their default state.

In such cases, it is more appropriate to divide the scope and check each part separately rather than dealing with content and settings all at once. LUX Content Migration provides a workflow that involves defining the roles of the existing site and the new site, then exporting posts, pages, categories, and media, and adding posts, pages, comments, authors, and media to the new site.

Before importing, you can preview the number of new posts, comments, and required images. If you need to revert the changes, you can delete the newly created posts within the completed categories or tasks and revert the import status.

The method of a person checking each item while looking at the screen can only be used for small sites. When there is a large amount of data, it becomes difficult to find missing locations, and even a simple database string replacement can corrupt serialized data that is not visible.

Manual verification has clear limitations.

The order of steps to prevent failure is simpler than you might think.

The most dangerous misconception is the belief that simply importing the XML data is sufficient. The next steps involve indiscriminately replacing addresses throughout the entire database, and prematurely removing existing addresses.

A 301 or 308 redirect from an existing URL is generally recommended to be maintained for at least 1 year. Since not all pages are migrated to the new address at once, prematurely decommissioning the old address can cause visitors and search engines to become lost.

Do not immediately delete the existing address.

According to the official WordPress migration guide, the GUID of a post should not be modified, even if only the domain is changed. This is a typical example of a situation where changing the address does not mean that all values should be changed in the same way.

The choices available depending on the situation can be categorized as follows:

  • The domain will be kept the same, and only the server will be changed. The entire set of files and the database will be restored.
  • The domain will also be changed: This includes serial correspondence address substitution, 301 or 308 redirects, and the addition of a new sitemap registration.
  • The SEO plugin is also changed: It will convert titles and descriptions by importing data from existing plugins.

If you change the domain, authenticate both the old domain and the new domain in the respective search console tools. After submitting the address change and registering a new sitemap, you can directly compare the SEO titles, meta descriptions, and primary URLs of the main posts and pages.

A migration without inspection is not a completed migration.

Ultimately, a safe migration is not about simply copying posts; it is about preserving all the relationships that the site remembers.

Dividing the migration scope using LUX Content Migration.

If you are only migrating a portion of the content, LUX Content Migration allows you to first define the roles of the existing and new sites, and then export the selected posts, pages, categories, and media to a dedicated .wpmpx file. In the new site, you can import posts, pages, comments, authors, and media, and before execution, you can verify the items that will be newly created and the number of required images.

General settings, reading settings, comments, permalinks, widget placement, and menu structure can be applied separately from the content. A feature to revert imported items is also provided, which is useful for checking results by category or task. If you need to back up and restore the database, theme, plugins, uploaded files, and settings all in one file, you should check the scope of the “Whole site backup / restore” feature in the Pro add-on separately.

Frequently Asked Questions.

Q. How does the process differ when only the server is changed versus when both the server and the domain are changed?

A. When maintaining a domain, the key is to restore all files and the entire database at the same time. If you change the domain, you will also need to perform serial correspondence address substitution, 301 or 308 redirects, and register a new sitemap. Additionally, verify that login, comments, media, and plugins are functioning correctly on the new server.

Q. Can this problem be easily solved using a tool? What kind of tool should be used?

A. When changing the database address, it is necessary to use search and replace tools that understand serialized data.

When changing plugins, always prioritize using the official import function provided by the plugin. Even when using tools, it is necessary to directly compare the results for representative posts and pages to ensure accuracy.

Q. How can I check the comments, members, SEO title, and meta description?

A. Check the connection of the comment author, the reply structure, the approval status, and members’ login and roles. If you keep the SEO plugin as is, the related data will be preserved along with it. If you change the plugin, use the official import function and then directly compare the SEO title, meta description, and primary URLs of the main posts and pages.

Q. How should comments and author information be transferred?

A. It is recommended to use a process that retrieves content, comments, and author information together, and to verify any new items that will be created before importing them.

LUX Content Migration allows you to add posts, pages, along with comments, authors, and media to a new site. If a complete site restoration, including member accounts and permissions, is necessary, you must separately check the backup and restore scope of the Pro add-on, which includes the database and settings.

WordPress-related links

https://store.luxdigest.com
https://wpcm.luxdigest.com
https://sohoseo.luxdigest.com