Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 24|回復: 0

A redirect chain is a series of multiple

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 2024-2-24 18:19:07 | 顯示全部樓層 |閱讀模式
Due to the redirect settings, the parameters need to work properly, so unless it is absolutely necessary, select " Ignore the parameters and pass them to the target ". memo Click the gear icon for detailed settings. For example, if you want to use a 302 redirect (temporary redirect), choose here. Once the settings are complete,Add forwarding ruleLet's click. STEP 3 Check if the redirect is correct Check if the redirect is correct. Please try accessing the transfer 123 → Forward →23 If there are no problems, you are done. Three points to note regarding redirect settings When setting up redirects, keep the following three points in mind: Three points to note regarding redirect settings Avoid redirect loops Avoid redirect chains Do not cancel redirection while the source URL is being accessed I will explain each in detail. Avoid redirect loops A redirect loop is a circular transfer . When setting redirects to multiple URLs, be careful of their relationships, as this may cause the page to not be displayed correctly.


For example, if you cycle through redirects like page A → page B → page A, an error will be displayed . Could not obtain information for the requested URL A redirect that is supposed to direct users or crawlers to a new URL doesn't make any sense. Therefore, after setting up a redirect, be sure to access the source page and check whether the destination page is displayed correctly . Avoid redirect chains transfers . For example, a chain of redirects goes from page Find Your Mobile Number List A to page B to page C to page D. Google's robots can only follow up to 10 redirects. Also, depending on the user, the desired page may not be displayed. If possible, redirect directly to the page you want to ultimately display, as shown below . Although Googlebot can follow up to 10 hops in a "chain" of multiple redirects (e.g. Page 1 > Page 2 > Page 3), we recommend redirecting directly to the final destination.





If you can't redirect directly, try to keep the number of redirects in your chain to less than 5 (ideally 3 or less). Chaining redirects increases latency for users. Also, some user agents and browsers don't support long redirect chains. (Citation: Google Search Central “How to move your site” ) Do not cancel redirection while the source URL is being accessed Do not cancel the redirect while the source URL is being accessed. This is because if you cancel the redirect, users or Google's robots may not be able to access the redirected URL. Of course, once the source URL is no longer accessed, there is no problem in canceling the redirect. Google's John Mueller said the following on X (formerly Twitter): If they're no longer needed after a while (usually I recommend keeping them at least a year), and you don't see traffic to them, then removing them is fine since it makes long-term maintenance easier. Google Translate will be easier to maintain long-term if you no longer see traffic to them and you no longer need them after a while (usually we recommend keeping them for at least a year). There is no problem in deleting it.

回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|z

GMT+8, 2025-2-22 12:13 , Processed in 0.031179 second(s), 18 queries .

抗攻擊 by GameHost X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |