introductory
This tutorial will show you hands-on how to set up a WordPress 301 Redirect(math.) genusFix dead links(math.) genusEnhancing the user experience, and provide best practice guidelines.
Link changeIt's a common occurrence, whether it's deleting old content, updating page URLs, or reorganizing the structure of your site, these actions can lead to the appearance of dead (broken) links. Not only do dead links affect the user experience, they can also have a negative impact on search engine optimization (SEO). In order to avoid these problems, the use of 301 Redirect is an effective solution.
301 Redirectis an HTTP Response Status CodeexpressedThe requested resource has been permanently moved to a new URL addressThe 301 here represents the status code for a permanent redirect. The 301 here stands for a permanent redirect status code. When a user or search engine crawler accesses the old URL, the server returns this status code, indicating that the client should use the new URL for access.
pre-conditions
- will alreadysource domaincap (a poem)Target Domain NameBind to cloud web hosting.
If the domain name is in the blacklist, it cannot be bound to Cloud Web Hosting.
2. The domain name has beennormal resolution(and filed).
If your domain name is used for Internet information services in Mainland China, you need to apply for domain name filing.
Relevant Knowledge Points (optional reading):
301 Redirectis an HTTP Response Status CodeThis means that the requested resource has been permanently moved to a new URL address. Here 301 A status code representing a permanent redirect. When a user or search engine crawler visits the old URL, the server returns thisstatus codeThe new URL is used to indicate to the client that it should be accessed using the new URL.
For example.guangzi.com
was permanently redirected to the guangzi.com/blog
. In this case, the server notifies the browser by sending a 301 status code: "This page has been permanently moved to the new address and we are no longer using the old address." The browser receives this message and automatically requests the new URL, thus ensuring that users have seamless access to the new resource location.
This mechanism not only helps maintain the user experience, but also ensures that theSearch Engine Updates IndexReservationsSEO weight of the original pageThe
Proper implementation of 301 redirectsIt is important to maintain and enhance the site's SEO Performance is crucial. It not only conveyspage weight(math.) genusMaintaining Search RankingsIt's still possible.Improving the user experience(math.) genusOptimize website structureThe
Why are 301 redirects important for SEO?
Retention of rankings: 301 passes the SEO weight of the original page to the new page, maintaining rankings.
Enhancing the user experience: Fix dead links and prevent users from visiting 404 pages.
How to set up a 301 redirect
Here I will provide2Kinds of methods.
Method 1: Use of plug-ins (Redirection plug-in)
Sep1. mounting: Install and enable the Redirection plugin in the WordPress backend.
Sep2. set upRedirection
- Select theplug-in (software component)ClickPlug-ins already installedFind the one you've just installed.Redirectionplug-in (software component)Clickset up. The operation is shown below.
2. You will be prompted to install the steps. As shown below, clickStart InstallationThe
A simple redirect involves setting a source URL (I-Day URL) and a destination URL (New URL). Here's an example.
Original URL:
(Example) Source URL is your IURL or raw URL
Target URL:
(Example) Target URL is a new URL
3. According to yourdemand (economics)Finish the setup and recommend to open them all. As shown below.
Sep3. Adding Rules: Select firstredirectsInputold pagecap (a poem)URL of the new page, save the rule. As shown in the following figure.
https://example.com/old-page
No longer in use.New Page URL: you want users to be redirected to a new page
https://example.com/new-page
TheOn the plugin's settings page::
Input : Original URL :
/old-page
Target URL.
https://example.com/new-page
Find it below and fill in your information as shown.
Method 2: Using Panels (1Panel is used here as an example)
sep1: Into your1Panel control panelThe
sep2. Go to the site's configuration.
Sep3. optionredirectsThen select theCreating RedirectsThe
Sep4. Fill in the information.
There are two ways:301Permanent redirection.302Temporary redirection. Recommended Options301
Type of redirection: Selection
301 Permanent Redirect
, because this is a permanently moving page, search engines update their indexes.Sep5. Click Confirm.
The original page is
/old-product-page
Now you have created a new page /new-product-page
You want all users who visit the old page to be automatically redirected to the new page.Detailed Steps:
Source URL::
/old-product-page
This is the original URL that the user visited, the old product page.
Target URL::
/new-product-page
This is the new page you want to redirect users to.
Type of redirection: Selection
301 Permanent Redirect
, because this is a permanently moving page, search engines update their indexes.Setup Example:
In the Redirection settings in the 1Panel panel, enter the following:
Source URL:
/old-product-page
Target URL:
/new-product-page
Type of redirection: 301 (permanent redirection)
If you need to change the entire domain from
http://olddomain.com
redirect http://newdomain.com
, a similar operation can be used.concluding remarks
301 Redirectis the process of permanently moving a web page to another URL and is crucial for SEO. It canPassing page weight(math.) genusAvoid dead links(math.) genusImprove user experience(math.) genusMaintaining Search Engine Rankings. You canThrough plug-ins (e.g. Redirection),1pancel panel to set up 301 redirects. Take care to avoid redirect chains and loops to ensure optimal site performance and SEO.
- newest
- hottest
See only the author.