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

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -