Current time: 05-26-2024, 06:52 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: #4
RE: Redirect a subdomain to the main domain
(09-04-2009 01:14 AM)snoopy74 Wrote:  
Code:
RewriteEngine on
RewriteRule ^(.*)$ http://test1.com/$1 [P]
returns an Error 500.

btw: Wouldn't that way not disturb my URL / request host ?

Another form of my question:
Is it possible to use the sources from "www.test1.com" for all requests for "sub.test1.com" without visible changes in the URL ?

My customer installed WordPress and changed it for multi-domain-support (Doc from http://www.yourhelpcenter.de/2009/03/wor...tallation/). Now he did not want to install WP on all subdomains and support all those copies.

strange, I test it and works for me, but i think, that you can set directory to same as main domain.
09-04-2009 01:37 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 01:37 AM

Forum Jump:


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