.htaccess - URL Rewrite Rule do a redirect but changes url in address bar -


ok have following configuration below

rewriterule ^skibe/(.*)$ http://%{http_host}/skibe?sku=$1 [qsa,l]  

now want here is..

when type

http://myhost.com/skibe/abc

it still same on address bar http://myhost.com/skibe/abc

but problem keeps on changing to

http://myhost.com/skibe?sku=abc

is there wrong configuration? rewrite directives are

   options +followsymlinks     rewriteengine on 

get rid of http://%{http_host} part in rule's target. cause mod_rewrite inherently redirect:

rewriterule ^skibe/(.*)$ /skibe?sku=$1 [qsa,l]  

Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -