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




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

| 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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