php - .htaccess-File redirect to same prefix -


i have following .htaccess-file:

options +followsymlinks rewriteengine on  rewritecond %{http_host} ^example.com rewriterule ^(.*)$ http://www.example.com/$1 [r=301] 

this should change prefix of input http://www.example.com/something doesn't work , don't know why not. redirects www.example.com...

i have tried lot couldn't find solution. be, browser doesn't display http://?


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -