• I am not able to directly access .php files in my plugins. When I try I get redirected to 404 page. How can I fix this?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    By directly access, do you mean from your browser, as in example.com/wp-content/plugins/myplugin/coolstuff.php? You are not supposed to access plugin files that way, at least not if you want the WP environment to load properly. What is it you are trying to do where you want direct access?

Viewing 1 replies (of 1 total)

The topic ‘Not able to directly access .php files’ is closed to new replies.