Forum Moderators: phranque

Message Too Old, No Replies

Rewriting nonexisting subdirectories to a php url

         

MrTheo

6:39 pm on Jan 3, 2007 (gmt 0)

10+ Year Member



Hi,

For some Livejournal software I'm creating I want to offer users some extra way of going directly to their profiles, using a url that basically goes to some nonexisting subdirectory with their username, but that should be rewritten to a php url instead with the username as parameter.

So for example if a user named theo browses to:
[bla.com...]

That it's for example rewritten as [bla.com...]

When I try some things with an .htaccess in the livejournal directory and I go to a url like above it gives a 'not found' error without doing anything in the .htaccess, so perhaps it's not even possible at all?

Thanks,
Theo

jdMorgan

9:34 pm on Jan 3, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> When I try some things with an .htaccess

This should be possible. Please post your best-effort [webmasterworld.com] code, so that we have a focus for discussion.

Jim