Forum Moderators: phranque
example:
www.asdf.com/joe -> www.asdf.com/profile.php?user=joe
or:
www.asdf.com/$var -> www.asdf.com/profile.php?user=$var
This would have to be automatic since I'll have multible and unknown amount of users using this feature.
Also I'd like these folders to be virtual (or not actually there).
So, this should only affect directories that do not excist :)
Thank you,
Halldor Hrafn.
Welcome to WebmasterWorld [webmasterworld.com]!
Using Apache mod_rewrite, you can add
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_FILENAME} !-d
Our forum charter [webmasterworld.com] provides a few links to basic resources to help get you started.
Jim
and get redirector to a page:
www.domain.com/profile.php?user=bob
but still make it look like this to the browser:
www.domain.com/bob
(/bob is a non-excistant directory)
thanks,
Halldor Hrafn.
[edited by: jdMorgan at 10:54 pm (utc) on July 29, 2004]
[edit reason] Spliced with previous thread [/edit]