/ Published in: Apache

I found this useful. Works as expected.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Options +FollowSymlinks RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ RewriteRule (.*) http://www.example.com/$1 [R=301,L] RewriteRule ^$ store [L] #If you want an external redirect, set the R flag there as well #RewriteRule ^$ /store [L,R=301]
Comments
