When I try to run my_php_script.php directly over the Internet giving the path above in my browser, I am being redirected to the home page of Wordpress.
Why that situation happens?
I've commented all the lines in the .htaccess file which can be found in the root Wordpress in order to see if the problem is in that file, but the situation gets worse - I got 500 Internal Server Error when I try to access that php file over the Internet.
I am using that script in ajax requests.
Could you plese give me some directions on how I could solve that problem.