Results 1 to 3 of 3

Thread: .htaccess redirect www to non www

  1. #1
    Join Date
    Dec 2001
    Location
    Labuan
    Posts
    83
    Rep Power
    220

    .htaccess redirect www to non www

    I am wondering how to redirect using htaccess for www.abc.com to abc.com?

    I know the code for redirecting abc.com to www.abc.com, which is useful. But redirecting the other way can be useful for subdomain.

    eg: http://www.sub.abc.com -> http://sub.abc.com

    I googled around but can't find any guide on it. Anyone having idea on it.
    aLvinHan of ViNSiGN Web Design in Labuan and PJ

  2. #2
    Join Date
    Mar 2003
    Location
    Kamunting, Perak
    Posts
    640
    Rep Power
    217
    I don't know if this will help u...

    http://help.powweb.com/tutorials/htaccess/subdomain.php

    //now I'm using zoneedit.com to redirect domain name to the subdomain.

  3. #3
    Join Date
    Dec 2001
    Location
    Labuan
    Posts
    83
    Rep Power
    220
    Quote Originally Posted by ardiles
    I don't know if this will help u...

    http://help.powweb.com/tutorials/htaccess/subdomain.php

    //now I'm using zoneedit.com to redirect domain name to the subdomain.
    not really what I am looking. thanks anyway.
    aLvinHan of ViNSiGN Web Design in Labuan and PJ

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to Redirect a Web Page
    By feelyou in forum Search Engine Marketing
    Replies: 2
    Last Post: 08-01-2008, 09:39 AM
  2. URL permanent redirect
    By calvynlee in forum Website Programming
    Replies: 5
    Last Post: 28-11-2007, 02:00 AM
  3. DOmain Redirect
    By calvynlee in forum Domain Names
    Replies: 6
    Last Post: 11-04-2007, 06:32 PM
  4. Domain Redirect Q&A
    By calvynlee in forum Domain Names
    Replies: 6
    Last Post: 16-11-2006, 11:39 AM
  5. .htaccess
    By tansks in forum Website Programming
    Replies: 4
    Last Post: 03-01-2005, 11:09 PM

Posting Permissions

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

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33