I'm having trouble finding help on this type of error because I'm not sure how to describe my problem. I'm integrating WP into my site and I've managed to do so successfully on a number of pages called listing-x.php, for example:
And a slew of similar pages work just fine.
But when I put nearly identical code into a page called listings.php, on load the page resolved to a new page called "listings.php-1". Listings.php-1 is a 404-error. So I saved the same code to listings-working.php where it loads just fine. Then I tried to redirect listings.php to listings-working.php ... and it just won't redirect to the new page. Instead, it stubbornly resolves to listing.php-1.
Any clue what the error is called so I can track down the problem.