Need help with htaccess file

Discussion in 'Programming' started by geeks4share, Mar 10, 2011.

  1. #1
    Hey everyone,


    I moved my blog before a month, while moving I edited htaccess file. Finally blog was moves perfectly, but i need notice "www" missing in my url.

    Just now I noticed and i think this problem has occured only because i edited that htaccess file... is there any way to get "www" back in the url?

    Note: Even If i enter "Www.geeks4share.com" it's getting redirected to "http://geeks4share.com"

    Thanks
    Praveen
     
    geeks4share, Mar 10, 2011 IP
  2. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #2
    How does your .htaccess look?

    You should do a 301 redirect from 'non www' to 'www' url.

    - Dynashox -
     
    dynashox, Mar 10, 2011 IP