The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add script to HTX file

Discussion in 'General Discussion' started by dphugo, Dec 24, 2007.

  1. dphugo

    dphugo Registered

    Joined:
    Dec 24, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    My website currently reveals in the address bar as http://domain.com and I need for it to read http://www.domain.com. I was told by Lunarpages I needed to add script to my HTX file that would transfer non www to www (in the address bar) Does anybody have this "Script"? Is there such a thing as "Simple" instructions on how to install it?
    Thank you in advance,
    dphugo
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I'm not terribly familiar with HTX scripts, typically such functionality is handled with .htaccess files. Here's a related thread: http://forums.cpanel.net/showthread.php?t=71527

    If you desire further information, the following search phrase may be useful if performing an internet search: .htaccess force www
     
Loading...

Share This Page