php - mod_rewrite: Convert Folders into Query Params -


everyone. simulate user system youtube's. example, if type youtube.com/ take profile. have similar thing running currently. if go example.com/user/ mod_rewrite change url example.com/user/?channel=. works correctly, don't want visual of url changed. there way can still pass username php while having human readible urls? here's current example of .htaccess file

rewriteengine on rewritebase /user/ rewriterule ^(.+) ?channel=$1 [r] 

yes can: don't use [r] -- it's an "external" redirect specified location.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -