WordPress.com是托管网站的免费,安全且可靠的选择。它对新网站所有者特别有吸引力,因为它会处理管理网站,因此您只需要注册免费帐户,选择主题并开始发布即可。

但是,随着网站的需求和目标的变化,您可能需要使用插件来insert a responsive image galleryor add code below to your theme’s functions.php file todisplay your most popular tags。In short, you start craving the functionality and flexibility that WordPress.org allows.

使用WordPress网站上的HubSpot工具,并在不处理代码的情况下连接两个平台。点击这里了解更多。

The good news is you don’t have to start from scratch. WordPress.com allows you to move your site to your own self-hosted domain on WordPress.org. Before we discuss how to migrate your site, let’s look at the benefits of hosting your site on WordPress.org.

为什么将您的网站从wordpress.com迁移到wordpress.org

To understand the benefits of migrating your site, we first have to take a closer look at the differences between WordPress.com and WordPress.org.

WordPress.com是一项免费的托管服务。尽管它提供了大量的功能,安全性和支持以使您的网站启动并运行,但确实有局限性。对于初学者,您只能将网站放在子域下。意思是,您的网站名称将是示例。wordpress.com而不是example.com。

You can’t remove WordPress.com’s branding or ads from your site. As a result, you can’t monetize your site by adding your own ads. WordPress.com won’t allow you to extend your site’s functionality by installing plugins and, while you can install a theme, you’re limited to those available in the WordPress.com directory.

For complete control over your site’s appearance and functionality, you can host your own domain on WordPress.org. You will need to download the software, pay for hosting, and manage a web server. In turn, you gain control over every feature on your site, including themes, plugins, affiliate links, ads, code, and third-party analytics.

Most site owners choose WordPress.org for its seemingly limitless functionality. If you need more customization and control to continue to grow your site, then follow this step-by-step guide to migrate your site from WordPress.com to WordPress.org.

Let’s walk through each of these steps below so you can successfully migrate your site without risking any of your content, media files, or traffic.

Step 1: Export Your Content

You can begin the process of moving your site by logging in to your WordPress.com dashboard.

In the admin panel on the left side of your screen, clickTools>Export。Instead of paying for a guided transfer, click theStart Exportbutton in the Export box.

在屏幕左侧的管理面板中,导航到工具>导出,然后单击“导出”框中的开始导出按钮

来源

默认情况下,将选择“所有内容”。您可以选择通过选择这些选项来选择仅导出帖子,页面或其他内容。选择要导出的内容后,请单击Download Export Filebutton. This will download your content in the form of a single XML file.

Select the content you want to export and click the Download Export File button

来源

Step 2: Remove Your Site’s Search Engine Visibility

Before you move on to importing content to your new site, make sure to remove the search engine visibility of your WordPress.com site. In your dashboard, clickSettings>阅读。Uncheck theSearch Engine Visibilitybox to request that search engines no longer index this site.

在仪表板中,单击设置>阅读并取消选中搜索引擎可见性框

来源

步骤3:选择一个托管提供商

在安装WordPress.org之前,您需要为您的新WordPress.org网站注册托管服务。托管托管是最受欢迎的托管服务之一,因为它可以为您和您的WordPress网站提供速度,安全性和支持。

Managed hosting essentially means you partner with a company to \ install and run your site on WordPress.org. A managed hosting provider will regularly cache your site, run malware scans and daily backups, and update your WordPress theme and plugins. In other words, managed hosting will provide the most similar experience to running a site on WordPress.com — but with the flexibility and control of self-hosting.

Of the dozens of managed hosting providers to choose from,Bluehost,WP引擎,Siteground, 和WPMU Devhave a reputation for reliability and high performance.

When signing up for a web hosting account, you’ll register a domain name and select a plan that has the bandwidth, storage, and security required for your site. Most providers offer three plans with each tier increasing in functionality and price. You can take a look at SiteGround’s hosting packages below.

Sitegroundoffers three hosting packages: StartUp, GrowBig, and GoGeek

来源

Step 4: Install WordPress.org

现在该安装wordpress.org了。大多数托管提供商都提供自动安装过程。为了本教程,假设您选择了上述托管计划之一。

You’ll then log in to your new web hosting account and be greeted by a pop-up window asking if you want to set up your website now.

In your web hosting account, select “Start a new website” and click WordPress then fill in some information about your new WordPress site

来源

You’ll select “Start a new website” and clickWordPress。A new section should appear asking for an email address, an admin username, and password for your new WordPress site. When you’re ready, clickConfirm。Then clickComplete Setupon the next screen.

Then click Complete Setup on the next screen

来源

安装完成后,您将收到通知您的WordPress.org帐户已准备好使用。要访问您的新网站,请单击Proceed to Customer Areaand navigate to theMy Accounts标签然后单击去管理面板lbutton.

Visit your WordPress admin panel by navigating to the My Accounts tav and clicking the Go to Admin Panel button

来源

Step 5: Change Your New Site’s Permalink Settings

In the admin dashboard, you’ll want to configure the settings of your new blog. To begin, you can optimize the permalink structure for search engines. To do this, just navigate toSettings>Permalinks然后选择“帖子名称”。

To change the permalink structure of your site, navigate to Settings > Permalinks and select “Post Name.”

来源

步骤6:安装主题

While other content can be exported from your WordPress.com site and imported to your WordPress.org site, your theme can not.

If you’d like to stick with the same theme, many WordPress.com themes are also available in the WordPress.org theme directory so you can simply search for and install the theme on your new site.

To do that, go toAppearance>Themesin your dashboard. Then, click添新。从那里,您可以通过名称搜索主题并安装它。

On the other hand, you may want to explore premium themes atStudioPress,Themify, 和other sites that are available to you. Once you find a theme you like, download it and return to your WP dashboard. You can follow the same steps but instead of clicking添新, clickUpload Theme。您会在计算机上的.zip文件中找到主题。然后单击Activatebutton.

Click Upload Theme then choose the .zip file on your computer

来源

Step 6: Import Your WordPress.com Content

Next, you can import your content from your WordPress.com site. Just clickTools>Import>WordPress。You’ll be prompted to install a plugin called WordPress Importer.

After the plugin installation is complete, you need to click on theRun importerlink to prompt a new window. There you can upload the XML file that you previously downloaded from WordPress.com by clickingChoose File

You can upload the XML file that you previously downloaded from WordPress.com by clicking Choose File

来源

在你上传这个文件之前,一定要检查the maximum size limit you can upload. If your XML file is over the limit, you have a few options. You can ask your hosting company to increase the file size limit or you can use theWordPress WXR File Splitterto split your file and upload it in sections.

When importing the XML file, you’ll be prompted to assign an author to it. In this window, make sure to check the box labeled “Download and import file attachments” to import your images.

Assign an author to your XML file and check the box labeled “Download and import file attachments” to import your images

来源

Now, all that’s left to do is set up a site redirect so that any visitors who try to go to your WordPress.com site are redirected to your new site on WordPress.org. This will ensure you don’t lose any traffic after the migration.

Step 7: Set up a Site Redirect

您可以使用网站重定向升级功能来设置301个永久重定向。为此,去WordPress.com Site Redirect page。Then enter your new domain name in the box, clickGo, 和fill in your payment information. Note that you’ll have to pay $13 annually to maintain the redirect.

On the WordPress.com Site Redirect page, enter your new domain name in the box and click Go

来源

You should not delete your WordPress.com site if you are using this redirect feature. You also should not delete your old site if some of your images and other files are still hosted on WordPress.com.

Following the steps above, you can transfer your site from WordPress.com to WordPress.org to leverage the full potential of a self-hosted site. Now you can choose from more themes andmust-have pluginsto expand your site’s functionality and better meet the needs of your visitors.

使用WordPress网站上的HubSpot工具,并在不处理代码的情况下连接两个平台。点击这里了解更多。

使用WordPress网站上的HubSpot工具,并在不处理代码的情况下连接两个平台。点击这里了解更多。

Originally published Nov 15, 2019 10:26:00 AM, updated March 17 2021

Topics:

WordPress Website