Avoid Landing Page Redirects

Dec 22, 2015
PageSpeed ​​Insights
0
On this page

This rule is triggered when PageSpeed Insights detects that you used multiple redirects during the transition of the specified URL to the final destination page.

Overview

Because redirects trigger additional HTTP request response cycles and add additional round-trip time latency, it is critical to minimize the number of redirects issued by the application. Avoiding HTTP redirection can reduce the time users wait for Web pages to load. We suggest that you carefully consider the design of your website to see where you can improve the performance of your website.

Here are some examples of the pros and cons of redirect mode:

  • Quality:example.com使用响应性网页设计,无需重定向
  • 中等: example.com-> m.example.com/home
  • Inferior quality: example.com-> www.example.com-> m.example.com-> m.example.com/home

 

建议

Follow Google's advice to useResponsive web designYour site will naturally avoid redirects.

如果您的网站明确要求进行重定向,您必须执行以下两项操作:
  • 使用HTTP重定向Send the user using the mobile user agent directly to the peer mobile URL without performing any intermediate redirection; And
  • Add to your desktop page< link rel= "alternate" >标记来识别对等的移动版网址,以便Googlebot能够找到您的移动版网页。

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under theApache 2.0 License. For details, see our Site Policies.


Articles
PageSpeed ​​Insights
Back to List
Nickname*:
E-mail*:
Rate*:
Comments*:

If you need to get in touch with us, here are our contact details

If you need to get in touch with us, here are our contact details
Contact number
Contact email
WeChat Contact
Jieying Network
QQ