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.

how to preserve www. and http:// in account urls?

Discussion in 'General Discussion' started by akio_outori, Jan 10, 2011.

  1. akio_outori

    akio_outori Registered

    Joined:
    May 4, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I'm pretty lost on this one, so I was hoping that someone here might have ideas..

    We host a number of sites for various customers off cpanel webservers, and one customer's domain constantly removes the www. and http:// extensions from urls. They want to preserve these extensions, and so I've been trying to figure out why only this domain is removing them.

    Looked over their account settings and dns records etc, but I'm not 100% sure what I'm looking for... any ideas?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What do you mean, removing them? Are you saying if you went to www.theirdomain.com it changes in your address bar to theirdomain.com?

    This sounds like either something in the account .htaccess file, or a configuration in the website software itself. What are they using for the website?
     
  3. akio_outori

    akio_outori Registered

    Joined:
    May 4, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Yes, that's exactly what I mean. sorry if its not wholly clear.

    So you think either the .htaccess file, or something on their end?

    Thanks for the response!
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes, it sounds that way to me.
     
  5. Indianets

    Indianets Well-Known Member

    Joined:
    Jun 13, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you sure it removes "http"? It's not possible. Though, if you browse any site in Chrome, it wont show "http://" part.

    If that is a WordPress site, ask the client to change the blog address under Settings to http://www.domain-name.tld/ instead of http://domain-name.tld/ . If it is not a WP site, check .htaccess and comment out the redirection code.

    - Vijay
     
Loading...

Share This Page