Welcome to We Web Hosting

Categories

Redirecting to www

You are here:
< All Topics

To force your page to always load from the www address, add the following domain to your .htaccess file in your public_html:

Options +FollowSymlinks 
RewriteEngine On
RewriteCond %{HTTP_HOST} ^exampledomain.com [NC]
RewriteRule ^(.*)$ http://www.exampledomain.com/$1 [L,R=301]


Note: substitute “exampledomain.com” for your actual domain

Table of Contents

Copyright © 2020 WeHost All Rights Reserved.