Apache Server configuration support - redirection to index.php

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > April 2007 > redirection to index.php





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author redirection to index.php
windandwaves

2007-04-23, 1:24 am

Hi Folk

I would like to have "virtual" urls on my php site. Meaning, that
people (and search engines) can go to
www.mysite.com/myurl.php or
to www.mysite.com/mysubject/mytopic/

and that these requests get redirected to www.mysite.com/index.php,
while the user keeps seeing the original url in their header bar and
does not notice the redirection.

Meanwhile in index.php, the php works out where the user came from and
serves the appropiate page....

Can this be done?
Is it recommended?
How should I do it?
Do I need to create the actual folders?

Thanks a million

> Nicolaas


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com