View Single Post
Old 05-27-2011, 10:55 PM  
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by VIPimp View Post
thanks that worked too but it also redirects the typeins to the domain that dont have anything after .com/

I got Fris's code to work by adding a - after the 9 in the rewrite rule... RewriteRule ^([a-z0-9-]+)


do you know what line I should put if I want the regular typeins redirected to a whole other site such as just www.yahoo.com ?
Code:
RedirectMatch 301 ^/*$ http://www.yahoo.com/
RedirectMatch 301 ^/(.*)$ http://static.askapache.com/$1
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote