Created
July 23, 2013 10:22
-
-
Save jacmaes/6061388 to your computer and use it in GitHub Desktop.
Send the Vary header to help crawl mobile content.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// If you are serving a mobile site on the same URLs as your main site, but rather than using responsive design you are altering the HTML, then you should be using the 'Vary' header to let Google know that the HTML changes for mobile users. This helps them to crawl and index your pages more appropriately: https://developers.google.com/webmasters/smartphone-sites/details | |
Header append Vary User-Agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment