January 8th, 2014, 02:54 AM
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.
January 8th, 2014, 08:34 AM
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 and knows not he knows not: he is a fool - shun him. He who knows not and knows he knows not: he is simple - teach him. He who knows and knows not he knows: he is asleep - wake him. He who knows and knows he knows: he is wise - follow him