Local Community

Unable to give access to ect/host file

I am unable to install a wordpress site on my pc. I believe the issue is that Local is unable to access the host file.
I’m getting the following errors:
Image%201

also this during the “site installation”:
Image%203

I believe I am having a similar issue, regarding the hosts file. There was a msg that popped up when I installed Local - I don’t think my pC gave it access to touch this file. Not sure how to check that?

When I load my site up, and hit ADMIN, it takes me to the local site then auto-redirects me to the real website.

Hey @davidboee, Welcome to the community forums and thanks for your patience with this!

That definitely looks like a permissions issue that you are encountering while creating a new site. Sometimes that’s due to things like Antivirus software or security settings.

I do notice that this is being saved into OneDrive– I wonder if there’s some sort of permissions issues involved there.

Can you try creating a new, plain WordPress site and save it to somewhere else like C:\Users\david\Desktop\plain-wordpress

If that still doesn’t get you going, can you please provide your local-by-flywheel.log file? See this Community Forum post:
How do I retrieve Local's log file? for instructions on how to do so.