We are setting up a Wordpress Website on a Debian Server. It seemed to work, but as we ran into a few problems, we changed file and folder permissions on the Server using chmod
and chown
commands. I'm not the only one working on the server, so I haven't been able to follow all the development. The problem with the website is that it looks bad, i.e. the CSS is not loading, thus there is a white background and all fonts are Times New Roman.
If I try to go to the resource on the browser, as in I type http://www.mywebsite.net/wp/wp-content/themes/mytheme/style.css
I get a HTTP:403 error.
How can I render the CSS file accessible? I do have remote access to the server. The entire wp-content
folder seems to be in possession of www-data
and I have at some time applied chmod -R 777
to the whole folder (No need to tell me that this is not secure).