New custom PHP pages are getting 404s
When I create new php pages and try to visit them I am receiving a 404. For example, I have created the file
page-tacos.php (stored in my child theme directory) but when I try to visit the URL at
localhost:8888/tacos I am getting a 404.
I have added several custom pages in the past and whenever I was having this issue I would follow the advice from this question and it would fix my problem. However, now flushing my rewrite rules is not fixing it.
I have tried renaming my file to not include the 'page-' prefix, resaving my permalinks, and running
flush_rewrite_rules( false ); to no avail.
My .htaccess file has not changed.
Does anyone have any other suggestions?