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 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.