Skip to:
Content
Pages
Categories
Search
Top
Bottom

301 Redirect

  • @mikem1986

    Participant

    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)
  • The topic ‘301 Redirect’ is closed to new replies.
Skip to toolbar