Reseting file permissions

In this context /path/to/site means the absolute path to the root of the content directory of the website. You can find this by navigating to the directory where you installed wordpress and running the command pwd (assuming you are on linux). That will output the path you are looking for. By default in many linux/apache installations, this path is /var/www/html.

If you do not know where wordpress was installed, the process is slightly more involved.

Still assuming your server is an Linux server running Apache, to find the “/path/to/site/” you can run the command apachetl -S (on Debian/Ubuntu) or the command httpd -S (on Redhat/Centos).

That will output a block that will include a path to a config file. Open the config file and find the line that starts

 <Directory...

The path in the quotes after the word Directory is the path you are looking for.