Last active
October 6, 2018 18:57
-
-
Save dr-dimitru/69c1dc10c12a57822b1404c15e765036 to your computer and use it in GitHub Desktop.
Query website as GoogleBot using curl
This file contains hidden or 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
# As default browser: | |
curl http://example.com | |
# As GoogleBot: | |
curl -A GoogleBot http://example.com | |
# As GoogleBot (old/deprecated) style: | |
curl -A GoogleBot http://example.com?_escaped_fragment_= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment