1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2014
    Rep Power

    Need Redirection Code

    Friends I have a website on Windows IIS 6 server.. This site have canonical issue, it open with and without both www. I want to fix it, but unable to fix with .htacces file. Can you please tell me the code for it and also describe that how to use that code to fix it.

  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2009
    Hartford, WI
    Rep Power
    That has nothing to do with code. If you DON'T want the site successfully accessed w/o the WWW, simply remove it. You will need to define a default site, however. I can type in ANY address, no matter how jibberish it may be, and as long as it points towards your server's IP, it's going to arrive viewing the default site on port 80.
    He who knows not that he knows not is a fool, ignore him. He who knows that he knows not is ignorant, teach him. He who knows not that he knows is asleep, awaken him. He who knows that he knows is a leader, follow him.

IMN logo majestic logo threadwatch logo seochat tools logo