Results 1 to 3 of 3

Thread: http:// vs http://www

  1. #1
    Join Date
    Jun 2016
    Location
    India
    Posts
    102

  2. #2

    Default

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
    Where yourdomain.com is your actual domain name.

    You can edit the .htaccess file using the File Manager in cPanel or via FTP.

    From now on, when someone access http://yourdomain.com the visitor will be redirected to http://www.yourdomain.com.

  3. #3
    Join Date
    Feb 2016
    Location
    CA
    Posts
    381

    Default

    301 SEO redirect is best method to move your site from non www to www.

Similar Threads

  1. How to redirect site from http to https?
    By ninadordev in forum Web Hosting Community
    Replies: 1
    Last Post: 09-02-2017, 06:15 AM
  2. What is HTTP?
    By riprook7 in forum Web Design Solutions
    Replies: 17
    Last Post: 03-18-2016, 10:52 AM
  3. Shared Hosting http://www.serveria.com/
    By Raymond_ in forum Web Hosting and Related Offers Forum
    Replies: 0
    Last Post: 07-12-2015, 12:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •