Jump to content

htaccess is not rewriting, but redirecting


andrepcg

Recommended Posts

i have:

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^u/([A-Za-z0-9-]+)?$ http://zzzzzz.info/user.php?n=$1 [L]

 

but when i load  http://zzzzzz.info/u/blablabla  it automatically redirects to http://zzzzzz.info/user.php?n=blablabla  instead of rewriting the url.

 

when i load the short url it changes the page to the long url.

 

how can i make it to work right? i dont want it to redirect but i want it to rewrite...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.