Skip to:
Content
Pages
Categories
Search
Top
Bottom

301 Redirect

  • Avatar of Mikem1986
    mikem1986
    Participant

    @mikem1986

    Hi guys

    Ive tried using

    RewriteEngine On

    RewriteCond %{HTTP_HOST} ^example.com [NC]

    RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]

    in my .htaccess to redirect the website to always use the www. version of the site but it doesnt seem to be working? Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.