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 :)



1 Answer 1


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

  • k my bad i guess.. tahts really odd all folders have 755 why does it had 777 :( . thx fixed :)
    – Ayaz Malik
    Mar 18, 2011 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/… Mar 18, 2011 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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