Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

my own php gives occasional WP 404

$
0
0

Replies: 0

Hi

I’ve got my own whatever.php program, nothing to do with WP except that in one case it exists on the main root WP directory, and in another case it’s in a subdirectory that I’ve allowed in htaccess.

Both programs take a while (5 minutes ish) to finish, and most of the time they work, but sometimes, or after a period, WordPress will deliver a 404. In one case I get my output, then the WordPress 404 content. In another case I just ran, I got 404, then I just reloaded and it worked fine.

I’m a web dev but not massively familiar with WP. If there’s a better place for me to put my code, or a sure way of setting up a folder/htaccess so WP accepts it, I’d be grateful to know.

I realise I could put my code up top and put WordPress in a subfolder, but I don’t really want to do that because WP is the main point of the site, my code is just doing other stuff in another database.

Cheers
J


Viewing all articles
Browse latest Browse all 512573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>