Current time: 11-27-2024, 08:13 AM Hello There, Guest! (LoginRegister)


Thread Closed 
Redirect a subdomain to the main domain
Author Message
Blondak Offline
Junior Member
*****
Dev Team

Posts: 84
Joined: May 2008
Reputation: 5
Post: #2
RE: Redirect a subdomain to the main domain
did you try
Code:
RewriteEngine on
RewriteRule ^(.*)$ http://test1.com/$1 [P]
ofcourse this must be in sub.test1.com (/srv/www/virtual/test1.com/sub1/htdocs/.htaccess)
?
(This post was last modified: 09-04-2009 12:31 AM by Blondak.)
09-04-2009 12:29 AM
Visit this user's website Find all posts by this user
Thread Closed 


Messages In This Thread
RE: Redirect a subdomain to the main domain - Blondak - 09-04-2009 12:29 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)