Hello, I’m new to Local by Flywheel, and I’m getting the exact same problem as the description above (with the same mac OS version & site config) except that trying Safari didn’t work & restarting Chrome (or typing chrome://restart
in the browser bar) didn’t work – I still have an empty page. I have a live website that I’d like to work on in Local by Flywheel, and I just imported it.
Interestingly, when I go to the site’s admin (https://mysite.local/wp-login.php) I can log in and it looks fine (I didn’t test extensively, but it looks just like the live site’s). It’s only when I try going to https://mysite.local/ , including via Visit Site from the WP admin dashboard, that I get a blank page.
Some details in case this helps:
In Chrome DevTools, on the network tab:
Request headers on the real site (which isn't "mysite.com"):
GET / HTTP/1.1
Host: mysite.com
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cookie: _tccl_visitor=1e34c96b-4758-401a-9dbb-0ca6da02439c; _tccl_visit=1f9d2711-9355-48d7-bfa5-018a16ca85a6
Response headers on the real site:
HTTP/1.1 200 OK
Date: Sat, 30 Jun 2018 21:07:57 GMT
Server: Apache
X-Powered-By: PHP/5.4.45
Link: <https://mysite.com/wp-json/>; rel="https://api.w.org/"
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Content-Length: 7082
Keep-Alive: timeout=5
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
The request headers on the local site looked quite a bit different:
:authority: mysite.local
:method: GET
:path: /
:scheme: https
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9
cache-control: max-age=0
cookie: wp-settings-1=editor%3Dhtml%26libraryContent%3Dbrowse%26wplink%3D1%26align%3Dcenter%26imgsize%3Dfull%26post_dfw%3Doff%26posts_list_mode%3Dlist%26urlbutton%3Dcustom; wp-settings-time-1=1530390999; wordpress_test_cookie=WP+Cookie+check
upgrade-insecure-requests: 1
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
Response headers on the local site:
HTTP/1.1 200 OK
Content-Length: 0
content-type: text/html; charset=UTF-8
Date: Sat, 30 Jun 2018 21:07:57 GMT
Link: <https://mysite.local/wp-json/>; rel="https://api.w.org/"
server: nginx/1.10.1
status: 200
X-Powered-By: PHP/5.4.45
And yes, I do have Apache selected as my webserver. But that may not have anything to do with anything. - Edit: I noticed in Nginx headers for Apache server? - Support - Local Community that @clay explains the reverse proxy, so I guess that explains that.