Possible solutions of your questions

  hosting
<< Previous       Stylesheet (Wordpress)

Question: Hello, I have this situation (website http://inprofit.biz/):On our site the stylesheet is not in the standard css file and executable php file - this is done to ensure that we were able to change the site design on the fly, not digging in the stylesheet. However, at the moment the stylesheet style.php blocked by the hosting settings, instead of normally applied, it is downloaded to disk. Apparently, optimization settings assume that the code in the directory wp-content not directly accessible, and php files cannot be opened directly. We can`t change these settings, please assist and make things right. Thank You in advance for your help.
Answer:

Hello. php files could not be executable. File permissions should be 644 only. the rights 777 and 666 is prohibited. only use 755 permissions for folders and 644 for files. the style files can`t block. Check the permissions and the presence of erroneous directives .htaccess

Question: Thanks Eugene, it worked!Always for folder wp-content 777 put right, I do not remember what was taught at the time...And my consultant something too clever about php executable ))thanks again, all the best!
Answer:

never put the rights 777. there is no reason to put such rights except one - the mode used mod_php php on weak servers


<< Previous