httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Zuckerman <j.zucker...@gmail.com>
Subject Re: [users@httpd] Handling Redirects + SEO
Date Tue, 24 Mar 2009 07:50:35 GMT
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 <mandys@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message