My site uses one template-based index.php file to pull content out of a database dynamically. Each article is referred to in the url as, say, index.php?cat=1&article=3. What I want is for the browser to display a symbolic text link to the article (say myarticle.htm), so that, amongst other things, search engines pick up more meaningful URLs. I realise this will mean displaying different HREF tags, but this isn't a problem.
I've worked out Apache's Redirect command in the .htaccess file, and have setup redirect links between the desired meaningful text URLs and the original index.php links. The trouble is, the URL displayed in the browser changes to the redirected address, losing the effect. Is there some way in PHP, or indeed some other Apache-based way, of creating more of an alias than a redirect, such that the meaningful text URL is still displayed in the browser windows?
Many thanks,
Owen