Canonical Issues

Discussion in 'Site & Server Administration' started by texas.alfred, Jun 23, 2012.

  1. #1
    I have anew website, It is unable to open in Browser in this Format:


    http://www.mywebsite.com


    Even If I type any of this this:-


    http://www.mywebsite.com
    www.mywebsite.com




    It Redirects to-
    http://mywebsite.com


    How to solve this Issue?
     
    texas.alfred, Jun 23, 2012 IP
  2. Tankstar55

    Tankstar55 Peon

    Messages:
    91
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you can't work on it. Try to ask a programmer or developer for them to fix it. Maybe there is error in the coding of your site.
     
    Tankstar55, Jun 23, 2012 IP
  3. IMFury

    IMFury Greenhorn

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    20
    #3
    Look for your .htaccess file, I think that's where you can find the code that redirects www to non-www
     
    IMFury, Jun 25, 2012 IP
  4. RoseHosting

    RoseHosting Well-Known Member

    Messages:
    230
    Likes Received:
    11
    Best Answers:
    11
    Trophy Points:
    138
    #4
    There is most likely either a rewrite rule placed in a .htaccess file or directly in your virtual host directive configuration file which is redirecting www to non-www.

    what operating system is in question and do you have any control panel installed on it?
     
    RoseHosting, Jun 25, 2012 IP
  5. droppedwebsites

    droppedwebsites Guest

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you are using cpanel, set 'Redirect' in the control panel.
    If its a wordpress based site, check the site url in the settings page
     
    droppedwebsites, Jul 13, 2012 IP
  6. AC36

    AC36 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #6
    Add www as the Cname in your DNS server
     
    AC36, Jul 19, 2012 IP
  7. Hostwinds_Dan

    Hostwinds_Dan Active Member

    Messages:
    149
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #7
    If all else fails, edit the .htaccess.
     
    Hostwinds_Dan, Jul 19, 2012 IP