Google structured data testing tool down't work from c9


#1

i’m trying to test a wordpress instance hosted on c9 with the structured data testing tool of Google (https://search.google.com/structured-data/testing-tool)

i got this message:

<!–

If you see this when loading the page from a tool, where you can’t
click the button, do either of the following to skip this page
- remove Mozilla and AppleWebKit strings from user-agent
- add Headless or PhantomJS to user-agent
- add cookie c9.live.user.click-through = ok
- add origin, postman-token, or x-request-id header to the request

details of the current request:
GET / {
“host”: “pestbusters-cloudlab01.c9users.io”,
“accept”: “text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8”,
“user-agent”: “Mozilla/5.0 (compatible; Google-Structured-Data-Testing-Tool +https://search.google.com/structured-data/testing-tool)”,
“accept-encoding”: “gzip,deflate,br”,
“x-forwarded-for”: “2.228.254.212, 66.249.81.110”,
“x-forwarded-proto”: “https”,
“x-forwarded-port”: “443”,
“x-region”: “eu”
}

–>

i’ve tried to change the user-agent with no good results, could you suggest me how to apply the other tips in order to make it work?


#2

GET calls bring up this page by default. POSTs shouldn’t display it, however.


#3

so…??? that testing tool requires an url and pertforms a get request, is there a way to avoid it?

morover: calling the url from a browser (get) and inspecting the source code the prolog message (the html comment with that message) it isn’t present