url wordpress_移动WordPress网站时如何更新URL

url wordpress

Do you want to update URLs after moving your WordPress site? It can be quite painful to manually edit each post or page just to replace old URLs. In this article, we will show you how to easily update URLs when moving your WordPress site.

您要在移动WordPress网站后更新URL吗? 手动编辑每个帖子或页面以替换旧的URL可能会很痛苦。 在本文中,我们将向您展示在移动WordPress网站时如何轻松地更新URL。

How to update URLs when moving a WordPress site
影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

您何时以及为何需要更新URL? (When and Why Do You Need to Update URLs?)

Let’s suppose you moved a WordPress site to a new domain name. You can then change the WordPress address and site URL by visiting WordPress settings page.

假设您将WordPress网站移至新域名 。 然后,您可以通过访问WordPress设置页面来更改WordPress地址和站点URL。

Changing WordPress and site URLs

However, this does not change the URLs that you have previously added in your posts and pages. It also does not change the URLs of images you have added to your WordPress site.

但是,这不会更改您先前在文章和页面中添加的URL。 它还不会更改已添加到WordPress网站的图像的URL。

Changing all these URLs manually can be very time consuming, and there will always be a chance that you will miss some URLs.

手动更改所有这些URL可能会非常耗时,并且始终有可能会丢失某些URL。

That’s where you’ll need this tutorial. Let’s see how to quickly and easily update URLs when moving your WordPress site.

那是您需要本教程的地方。 让我们看看在移动WordPress网站时如何快速轻松地更新URL。

移动WordPress网站后更新URL (Update URLs After Moving a WordPress Site)

First make sure that you have a complete backup of your WordPress site. This will allow you to easily revert back in case something goes wrong during the update process.

首先,请确保您具有WordPress网站完整备份 。 如果在更新过程中出现问题,这将使您可以轻松还原。

Next, you need to install and activate the Velvet Blues Update URLs plugin. For more details, see our step by step guide on how to install a WordPress plugin.

接下来,您需要安装并激活Velvet Blues Update URLs插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Upon activation, you need to visit Tools » Update URLs page to configure plugin settings.

激活后,您需要访问工具»更新URL页面来配置插件设置。

Velvet Blues Update URLs plugin settings

Here you need to provide the old and new URLs of your website. After that you need to choose where you want the URLs to be updated.

在这里,您需要提供网站的新旧URL。 之后,您需要选择想要更新URL的位置。

You can update urls in posts and pages, excerpts, image attachments, custom fields, etc.

您可以更新文章和页面中的网址, 摘录 ,图像附件,自定义字段等。

Go ahead and select each item that you want to update and then click on the ‘Update URLs Now’ button.

继续并选择要更新的每个项目,然后单击“立即更新URL”按钮。

The plugin will find and replace all instances of old URL with your new URL.

插件将查找旧URL的所有实例并将其替换为新URL。

You can now visit your website to see that all URLs are updated.

现在,您可以访问您的网站以查看所有URL已更新。

We hope this article helped you learn how to update URLs when moving your WordPress site. You may also want to see our step by step WordPress SEO guide for beginners.

我们希望本文能帮助您学习在移动WordPress网站时如何更新URL。 您可能还想看看我们针对初学者的逐步WordPress SEO指南

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-update-urls-when-moving-your-wordpress-site/

url wordpress

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值