I have bought a domain and I want to add that web 2.0 touch by adding the 2 to the front for example say I had the domain 0news.com and wanted it to be 2.0news.com (Note that is not my domain if it is one.) Also, all of the traffic needs to go through the 2.0news.com domain also. I am guessing it has somthing to do with .htaccess but I have never done anything like this within an .htaccess so if someone could tell me that would be great. Thanks.
Hi, That's a horrific effect. Why would you want to do that? It's hard to type, and it looks silly. But if you insist, you need to add a subdomain "2" and use a rewrite directive in a .htaccess file to redirect all traffic to that subdomain. Apache: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.){0,1}0news\.com$ [nocase] RewriteRule ^(.*)$ http://2.0news.com/$1 [redirect=301,last] Code (markup): Note that mod_rewrite needs to be enabled. Regards - P
I just didnt know what to use for the .htaccess. Once you see the domain I am acually using you will understand why.