![]() |
any good with Symbolic Links?
i need a little help. i'm trying to have my user accounts load at the root level. example would be www.domain.com/profile.php?id=1 to load as www.domain.com/UserJoe/
is there a code in which i can link www.domain.com/profile.php?id=1 to load symbolicly as www.domain.com/UserJoe/ if not a symbolic link then something clean maybe a htaccess something that won't cause cpu strain. thanks in advance |
I've discussed something similar in a thread a while back...let me see if I can dig it up for you.
|
|
so i could use mod_rewrite is that faster/better than a symbolic link? i'll have well over 300+ accounts when my site goes live, can a .htaccess with mod_rewrite handle all of this?
|
RewriteEngine On
RewriteBase / RewriteRule test2/?$ profile.php?id=1 [L,NC] that works but http://www.domain.com/test2/ doesn't load images on the page, http://www.domain.com/test2 works fine though |
| All times are GMT -7. The time now is 09:04 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123