Hi
If the server is Linux and having Apache Mod-Rewrite moduled enabled, you can create .htaccess file, with the following code:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^www.domain.com [nc]
rewriterule ^(.*)$ http://domain.com/$1 [r=301,nc]
You upload the .htaccess file to your root directory, where your site index file is.
Please REPLACE domain.com and www.newdomain.com with your actual domain name.
I hope it helps, let us know how you'r doing!
Kraai
Senior Poster
3,981 posts since Feb 2008
Reputation Points: 76
Solved Threads: 87
Good stuff, glad it worked out all right!
Kraai
Senior Poster
3,981 posts since Feb 2008
Reputation Points: 76
Solved Threads: 87