We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40122
    • 330 Posts
    I am trying to upload some php files yo a directory on my server, eg: mydirectory/myphpfile.php

    But whenever I try to access them on a browser I am redirected to ModX's 404 page. HTML files in the same directory work fine.

    Is there some way I can get Modx to 'ignore' these independent PHP files?

    Thanks!
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      If they are accessible to the server, MODX should never see them. MODX only gets invoked when the web server can't find the file that was requested.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org