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

Results 1 to 4 of 4
  1.     
    #1
    Member
    Website's:
    hotfilezone.org 64kalas.com

    Default redirect from non www to www

    Hi

    I have wordpress website hosted as example.com and now i want it to be www.examples.com i want the www version to load everytime

    i did it from wordpress setting but creating a lot of crawl issue -- Is it fine doing this way ??

    I also tried writing the re write rule
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^example.com
    RewriteRule (.*) http://www.example.com/$1 [R=301,L]

    But only the homepage is re directed to www.example.com other pages giving 404 error
    and cpanel redirect is not working
    Please help me

    what should i do
    ge0 Reviewed by ge0 on . redirect from non www to www Hi I have wordpress website hosted as example.com and now i want it to be www.examples.com i want the www version to load everytime i did it from wordpress setting but creating a lot of crawl issue -- Is it fine doing this way ?? I also tried writing the re write rule RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com RewriteRule (.*) http://www.example.com/$1 Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    wscripts.net damnlolscript.com lulzjet.com
    this is what i used
    Code: 
    ##Redirect non-www to www:
    #RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
    #RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]

  4.     
    #3
    Member
    if i not wrong, you can use google webmaster tool too..... to redirect to www.

  5.     
    #4
    Member
    Google webmaster tool only allow you to confirm to google only about your prefered domain
    Your site non-www version will not redirect to the www version
    You need to do
    Quote Originally Posted by t3od0r View Post
    Code: 
    ##Redirect non-www to www:
    #RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
    #RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
    Google and other search engines will update their listing within 24hrs
    Helping people is my hobby.....
    Learn how to secure your server against ddos

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 301 redirect help
    By tractor3231 in forum Web Development Area
    Replies: 4
    Last Post: 28th Jul 2011, 04:19 PM
  2. How to Redirect !
    By softleaks in forum Tutorials and Guides
    Replies: 12
    Last Post: 20th Jul 2011, 09:01 AM
  3. 301 Redirect help
    By Rox in forum Wordpress
    Replies: 7
    Last Post: 10th Jul 2011, 09:03 PM
  4. Redirect your non www url's to www
    By hhhgame in forum Tutorials and Guides
    Replies: 11
    Last Post: 2nd Dec 2010, 03:22 PM
  5. In Need of Url REdirect mod ..?
    By litewarez in forum phpBB
    Replies: 25
    Last Post: 20th Oct 2009, 08:40 PM

Tags for this Thread

BE SOCIAL