I have a script that I want to execute directly from URL like www.websitename.com/myscript.php. How can I do that? When I try to run my script i get 404 site. Is there any other way I could execute this script?

  • 1
    make sure the file exists on the same level as index.php – Marius May 15 '15 at 10:50
  • make sure myscript.php exists at the same level at which your app,skin folders lies. – Pradeep Sanku May 15 '15 at 10:50
  • I have the script inside the same folder as index.php aka in the base folder of my Magento installation. – Navitua May 15 '15 at 10:57
  • please confirm your script exist in root magento setup if it exist check your htaccess or place your htacces here – Keyur Shah May 15 '15 at 11:02

Your Answer

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

Browse other questions tagged or ask your own question.