Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Hey, im not sure why but php files other then wordpress either redirects to homepage or gives a 404. for example i have a timthumb.php in directory /js/

it was working fine and generating thumnails for me.. but it started to give 404 on even running the direct url.

You can take a look here : www.designzzz.com/js/ you will see timthumb.php available, but on clicking or running that file it gives 404 :( .

Help is appreciated :)

cheers

Ayaz

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Check the permissions on the JS folder against the folders for the rest of the site.

share|improve this answer
    
k my bad i guess.. tahts really odd all folders have 755 why does it had 777 :( . thx fixed :) –  Ayaz Malik Mar 18 '11 at 13:40
1  
Global permissions are usually the answer when your server is configured to run as nobody. This is what causes trouble for a lot of users, usually with the uploads folder. Some argue nobody is a security improvement, others argue that the requirements it induces create exactly the opposite - codex.wordpress.org/… –  TheDeadMedic Mar 18 '11 at 15:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.