redirection to index.php

This is a discussion on redirection to index.php within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi Folk I would like to have "virtual" urls on my php site. Meaning, that people (and search ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-23-2007
windandwaves
 
Posts: n/a
Default redirection to index.php

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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:58 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0