Pages don't open without "www" or ".html"

Discussion in 'Programming' started by ninehigh, Nov 10, 2010.

  1. #1
    Hey Guys,

    I recently backed up my websites and transferred them to a different server. Now that they're installed, I'm having a frustrating issues:

    All of the links on the site are in the format "domain.com/page" without ".html" after it.

    So now, none of the links on the website work, you have to go into the address bar and add ".html" to get the page to load.

    ALSO, when you type "domain.com" into the address bar, it doesn't load, you need to type "WWW.domain.com"

    Could someone please help? I REALLY don't want to have to go into all of the pages and change the links to add ".html" at the end!

    Thanks
     
    ninehigh, Nov 10, 2010 IP
  2. ActiveFrost

    ActiveFrost Notable Member

    Messages:
    2,072
    Likes Received:
    63
    Best Answers:
    3
    Trophy Points:
    245
    #2
    .htaccess ( if you want help, show the contents of it ).
     
    ActiveFrost, Nov 10, 2010 IP
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You may also need to amend your DNS so that the domain without the www is pointing at your server correctly
     
    AstarothSolutions, Nov 11, 2010 IP
  4. SterlingS

    SterlingS Greenhorn

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    13
    #4
    check mod_rewrite out
    blogstorm. co. uk/htaccess-mod_rewrite-ultimate-guide/
     
    SterlingS, Nov 11, 2010 IP