php - .htaccess rewrite URL not showing correctly? -


i want when write following:

http://boundsblazer.com/user/joe

it internally processes page:

http://boundsblazer.com/user/profile?usr=joe

but keeps old url. however, when write:

http://boundsblazer.com/user/joe

the url becomes:

http://boundsblazer.com/user/profile?usr=joe

i have searched countless threads, , nobody having trouble am. problem when write url, url changes , makes ugly. .htaccess:

rewriteengine on rewriterule ^user/([a-za-z0-9]+)$ http://boundsblazer.com/user/profile.php?usr=$1 [l,qsa] 

does know causing problem?

use this:

rewriteengine on rewriterule ^user/([a-za-z0-9]+)$ /user/profile.php?usr=$1 [l,qsa] 

the issue using absolute url, instead of relative url, , mod_rewrite performing redirect instead of rewrite.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -