I’m curious to know if there is a way to have URLs be intercepted by a PHP page or some other server side logic such that if the URL “www.mysite.com/about/mission_statement” is queried but I don’t have a page at “about/mission_statement”, that I can serve up the content from, say, “some/other/folder/with/pages”.
Does anybody know if this is possible, or do I have to ensure that I have a page available for every url address I wish to handle?
You cannot do that in PHP directly because a PHP page is invoked in order to process a given URL, but you can do that in your web server.
Assuming Apache have a look at URL rewriting
http://httpd.apache.org/docs/2.2/rewrite/
In particular for your case, the subtopic
http://httpd.apache.org/docs/2.2/rewrite/remapping.html
is relevant.
IIS has a similar capability.