Activity Stream
48,167 MEMBERS
62467 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8
  1.     
    #1
    Banned
    Website's:
    NonStopFunZone.com

    Smile How To Redirect non www links of my site to www ?

    Hi,

    Please Tell me how to redirect all of my site's non www pages to www using CNAME record. for example if there is a link like this

    http://abc.com/
    or
    http://abc.com/forum

    then how to make it like this automatically

    http://www.abc.com/

    http://www.abc.com/forum
    Jason_weds_Freddy Reviewed by Jason_weds_Freddy on . How To Redirect non www links of my site to www ? Hi, Please Tell me how to redirect all of my site's non www pages to www using CNAME record. for example if there is a link like this http://abc.com/ or http://abc.com/forum then how to make it like this automatically Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    You must edit/add the following mod-rewrite script to your .htaccess file to redirect “http://” to “http://www.”:

    Code: 
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www..*
    RewriteCond %{HTTP_HOST} !^$
    RewriteCond %{HTTP_HOST} ^([^.]*).(com|com/)
    RewriteRule ^.*$ www.%1.%2%{REQUEST_URI} [R=301,L]
    The above edit will redirect:

    http://yourdomain.com to http://www.yourdomain.com
    Hope this helps you!

    The above code will work for any script, Be it be vbuleltin, phpbb blah blah...

  4.     
    #3
    Banned
    Its Wordpress Site?

  5.     
    #4
    Banned
    Website's:
    NonStopFunZone.com
    is there any way to do this using CNAME record in my WHM DNS setting ?

  6.     
    #5
    Banned
    CNAME & DNS Not Connected With This Issue.

  7.     
    #6
    Banned
    If Its Wordpress Site & U Want Ur SIte Loading On Both URL (WWW. & Non WWW.), PM Me.

  8.     
    #7
    Banned
    Website's:
    xsl.tel xsltel.com



  9.     
    #8
    Banned
    Website's:
    xsl.tel xsltel.com
    or you can add this 2 lines in .htaccess
    Code: 
    RewriteCond %{HTTP_HOST} ^xsltel.com$
    RewriteRule ^(.*)$ "http\:\/\/www\.xsltel\.com\/$1" [R=301,L]
    Replacing xsltel.com with your domain

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. help ! how to redirect external links in wordpress
    By Persius in forum Webmaster Discussion
    Replies: 4
    Last Post: 1st Aug 2012, 12:44 PM
  2. Replies: 13
    Last Post: 20th Dec 2011, 03:40 AM
  3. How Redirect Affilate Links
    By milos007 in forum Web Development Area
    Replies: 1
    Last Post: 31st Jul 2011, 12:32 PM
  4. Redirect Sharingzone Affiliate Links
    By duality99 in forum Webmaster Resources
    Replies: 6
    Last Post: 3rd Apr 2011, 07:35 AM
  5. How to redirect external links...?
    By torrfriend in forum Webmaster Discussion
    Replies: 0
    Last Post: 16th Feb 2011, 08:12 AM

Tags for this Thread

BE SOCIAL