• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

[solved] Wordpress Toolkit - error 403 on php files in wp-content

Johan06

New Pleskian
Hello,

I'm having a strange problem on a plesk 12.5.30 centos 7 server

I have a wordpress website v3.4
The Wordpress Toolkit don't work cause it's an old wordpress.

But i got error 403 on all php files in wp-content
the theme have a style.php file for custom css, and with the 403 error, the website have css problem.

Failed to load resource: the server responded with a status of 403 (Forbidden)


So i'm wondering, the wordpress toolkit can add security on wp-content, what file does he edit ? maybe i can see something about this.

Thank for some ideas
 
@Johan06,

I am pretty sure that it is not WPT related: you should probably verify the links to the css files (just open a browser and open the debug console, often Ctrl + Shift + I).

If you get the standard html code in the console, then your wp-content is probably fine, but the custom css file is probably not.

In the debug console you should be able to see which of the files are not loading properly.

By the way, why using style.php file for a custom css? You can just add some custom css as a .css file, have a look at the WordPress codex for inspiration.

Regards....
 
The theme use style.php for custom css...

Well I didn't found the problem.
I did a rsync to another server I got and it works...
So I keep it in this one.

Thanks for your answer.
 
Back
Top