- Code: Select all
Options -Indexes
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
That code works but after redirecting it includes the ?query_srting after the URL.
I go to domain.com/58.html and I get sent to www.domain.com/58.html?id=58 .
Here is a link so you can see if you want http://thisarcade.com/test/profiles/2/badim.html . Then look at the URL when you get there.