Olney
16th October 2006, 02:41 AM
Hey guys,
This is the code to get your domain to automatically forward from www.x something.com
to just
x - - Something.com
Visually I don't like seeing www in front of my IDNs & I'm sure there is going to be someone out there who feels the same.
Use notepad on Windows or I suggest BBedit or Dreamweaver for a Mac.
Name a file htaccess.txt
Put it in your site root
This is the Code
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^www.xn--yourdomain.com [nc]
rewriterule ^(.*)$ http://xn--yourdomain.com/$1 [r=301,nc]
After you upload it to your server change the file on the server's name to .htaccess
& after that your domains will just be
http:// YOURIDN.com
instead of
http:// www,YourIDN.com
& don't thank me be nice to the little woman tonight instead.
This is the code to get your domain to automatically forward from www.x something.com
to just
x - - Something.com
Visually I don't like seeing www in front of my IDNs & I'm sure there is going to be someone out there who feels the same.
Use notepad on Windows or I suggest BBedit or Dreamweaver for a Mac.
Name a file htaccess.txt
Put it in your site root
This is the Code
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^www.xn--yourdomain.com [nc]
rewriterule ^(.*)$ http://xn--yourdomain.com/$1 [r=301,nc]
After you upload it to your server change the file on the server's name to .htaccess
& after that your domains will just be
http:// YOURIDN.com
instead of
http:// www,YourIDN.com
& don't thank me be nice to the little woman tonight instead.