In website operation, adjusting URL structure, migrating page content, or changing domain names is a common occurrence.However, if these changes are not handled properly, they often lead to errors such as "404 Page Not Found" when users visit old links, resulting in loss of website traffic, decline in search engine rankings, and even damage to the brand image.In order to effectively respond to these challenges, 301 redirects are particularly important.
A 301 redirect is an HTTP status code indicating that the web content has already beenpermanentMove to a new address. It not only automatically redirects users accessing the old URL to the new URL, but more importantly, it transfers over 90% of the accumulated search engine authority (i.e., "SEO authority" or "link equity") from the old URL to the new URL, minimizing the negative impact caused by URL changes.This means that your website's ranking in search engines will not fluctuate significantly due to address changes, and users will always be able to access the correct content.
When do you need to set up a 301 redirect? Common scenarios include:
- URL structure optimizationWhen you decide to modify the website's URL naming rules to make it more readable or more in line with SEO requirements.
- Page content migration: Transfer the content of a page from one URL to another, and the old page will no longer be used.
- Domain ChangeWhen your website switches from the old domain to the new domain, you need to redirect all traffic from the old domains to the new domain.
- Merge duplicate contentWhen there are multiple URLs pointing to the same or similar content on a website, you can choose one main URL and redirect the other URLs to this main URL to avoid search engine penalties.
- Remove old page: Some pages are no longer needed, but there may still be external links pointing to them. They can be redirected to relevant new pages or the homepage of the website using a 301 redirect.
Fortunately, AnQiCMS (AnQiCMS) as a comprehensive content management system has built-in powerful 301 redirect management functions, allowing you to easily complete the settings in the background without writing complex server configuration code, effectively avoiding content display interruptions or traffic loss due to URL adjustments.
Set the 301 redirect steps in AnQi CMS
The 301 redirect feature of AnQi CMS is located in its 'Function Management' module, and it is intuitive and convenient to operate.
Log in to the Anqi CMS backendFirst, log in to the AnQi CMS management interface using your administrator account.
Enter the "Function Management" moduleIn the left navigation bar, find and click the 'Function Management' menu item. This module aggregates many practical tools for website operation, such as pseudo-static rules, link push, etc.
Select "301 Redirect Management"In the sub-menu or page of "Function Management", you will see an option named "301 Redirect Management".Click it to access the redirection rule setting page. According to the update log, since version v2.1.1, Anqi CMS has added support for 301 redirect links, make sure the version you are using includes this feature.
Add a new redirect rule:
- On the 301 Redirect Management page, you will see a button labeled "Add Redirect Rule" or similar. Click it.
- Enter the "old address"In the pop-up form, you first need to enter the "old address" you want to redirect to. This address can be a relative path (such as
/old-page.html) or a complete absolute path (for examplehttp://www.yourdomain.com/old-page.htmlIt is recommended to use relative paths when setting internal link redirection and absolute paths when redirecting across domains. - Enter the "new address": Then, enter the 'new address' you want the user to finally access. This can be a relative path or an absolute path. Make sure the new address is valid and accessible.
- Save Rules: After confirming that everything is correct, click the "Save" or "OK" button to submit your 301 redirect rules.
Test Redirect EffectAfter setting the rules, be sure to perform a test. Enter the old address in the browser to check if it can automatically jump to the new address.At the same time, pay attention to whether the URL in the browser address bar has been updated to the new address, which means the 301 redirect has been successfully effective.
Practice of using 301 redirect**
Setting up a 301 redirect is not enough; here are some suggestions to help you better utilize this feature and ensure the healthy development of your website:
- Plan in advance and conduct a comprehensive investigationBefore making any adjustments to the URL structure, be sure to make detailed plans.List all the old URLs that will be changed and the corresponding new URLs.Using the "Full Site Content Replacement" and other functions of AnQi CMS, it can help you find and update related old links in the site content, reducing the reliance on 301 redirects.
- Avoid redirect chainsAvoid redirecting a URL to another URL, and then from that URL to a third URL, forming a redirect chain.A long redirect chain can increase page load time and may cause issues with search engines passing weight.Directly redirecting the old address to the final destination is **the practice.
- Regular checks: Even if redirections are set, it is recommended to check them regularly to see if they are still valid.You can use Google Search Console or other SEO tools to monitor the 404 errors and redirect status of your website, and discover and fix potential problems in a timely manner.
- Update internal linksAfter setting up the 301 redirect, try to update all the links within the website that point to the old URL to point directly to the new URL.Although 301 redirects can pass weight, accessing the new URL directly is more efficient and also helps reduce server load.
- Differentiate between 301 and 302Remember, 301 is a 'permanent' move, used for long-term content migration.If the content of your page is only temporarily moved and will return to the old address in the future, you should use a 302 redirect (temporary move).The 301 feature provided by AnQi CMS is designed for permanent redirection, please choose to use it according to the actual situation.
By following these steps and **practice, you will be able to fully utilize the 301 redirect function of Anqi CMS, ensuring that the website can maintain good user experience and search engine performance after content updates or structural adjustments.
Frequently Asked Questions (FAQ)
Q1: I set up a 301 redirect, but when I accessed the old address in the browser, it did not redirect. What went wrong?
A1: If you have set up a 301 redirect in the AnQi CMS backend but it is not working, there may be several reasons.First, please check that the "old address" and "new address" you entered are completely correct, including uppercase and slashes.Secondly, browser caching may cause old pages to continue to display, try clearing the browser cache or accessing in incognito mode.Finally, if your website is using a CDN (Content Delivery Network) or server-side caching, you may need to clear these caches to see the latest redirect rules take effect.
Q2: What impact does the 301 redirect have on my website's SEO?
A2: The impact of 301 redirect on SEO is positive and crucial.It tells the search engine that the content of the old page has been permanently migrated to the new page, and most of the ranking weight and "link assets" accumulated on the old page have been passed on to the new page.This helps the new page inherit the search rankings of the old page, avoid traffic loss, and maintain the consistency of user experience.If handled properly, a 301 redirect can minimize the SEO negative impact caused by URL changes.
Q3: After setting up a 301 redirect, do I still need to submit a new sitemap to Google Search Console or other webmaster tools?
A3: Yes, it is strongly recommended that you update and submit the new sitemap (Sitemap) to Google Search Console and other webmaster tools after setting up 301 redirects and testing their effectiveness.Sitemap tells search engines what pages are on your website and their latest URLs.Although 301 redirects can guide search engines to discover new pages, submitting an updated sitemap can accelerate the crawling and indexing of new pages by search engines, reflecting the update of the website structure more quickly, and ensuring that SEO effects appear in a timely manner.