Welcome to WebmasterWorld Guest from 22.214.171.124
So I create a php look up page, that says if page id=1, then url=name?
the request is rewritten (that's rewritten not redirected) to
which looks up which record number that page name matches (sends 404 header and error message if no match) and then fetches the content from the database, assembles the page and sends it out.
or similar), making it easier to fetch the content, and to allow the page name to be changed without changing the ID. Before the content is fetched, the php script does a look up to ensure the requested page name is correct for the requested page number. If they don't match, it sends a redirect to the correct URL.
Is the way I am doing it, acceptable also?