.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
it still same on address bar http://myhost.com/skibe/abc
but problem keeps on changing to
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
Post a Comment