Obviously what I was thinking was weird :) I was basically trying to figure out a way to do less work.
Now, I would need to move all my files from microsite.com to mainsite.comand setup 301 redirects. Correct? I was trying to save the effort on moving the files :) On Tue, Mar 24, 2009 at 1:20 PM, Jonathan Zuckerman <j.zucker...@gmail.com>wrote: > Mandy, how would the directive know whether to look on microsite or > mainsite to find the requested page without making inefficient > requests? Think carefully about what you're trying to do here: why > have two sites at all if you only want users to access one of them? > > On Mon, Mar 23, 2009 at 11:18 PM, Mandy Singh <man...@gmail.com> wrote: > > Hi, > > > > I would like some help in understanding how redirects work. > > > > I have a main site www.mainsite.com and a microsite www.microsite.com. > > > > All my rankings should be determined by mainsite.com. > > > > However, we didn't think about it earlier and now microsite.com and > > mainsite.com have divided traffic and hence rankings are lower. > > > > We want to consolidate the two. > > > > I know about 301 redirects and ideally I could have done - > > > > RewriteEngine ON > > RewriteRule ^(.*)$ http://www.mainsite.com/$1 [R=301,L] > > > > So, www.microsite.com/about/index.php would go to > > www.mainsite.com/about/index.php and my rankings would be accounted for > as > > its a permanent redirect. > > > > However, this would mean I need to move all my pages "physically" from > > microsite to mainsite. > > > > Is there another alternative wherein I keep all my pages on microsite > (still > > have same directory structure) but call them using mainsite.com domain? > > > > Am I making sense? > > > > Let me know. > > > > Thanks. > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >