Thursday, June 4, 2009

Re: robots.txt with a 301 redirect

@jackin
Thank you for your concern. Don't worry, I would not consider doing
any such thing as that (different content for people and bots).

There are currently no (nor were there ever) any indexable pages on
domain1 - all the content is on domain2, I simply want the ability to
give someone a link to domain1 and have them arrive at domain2.

Indexing from domain2 is an option, but it would be a compromise. I
personally would like all indexable links to point to domain1 and
redirect to domain2, rather than pointing directly to domain2, as
domain1 has a far more "keyboard-friendly" url, and for other reasons
as well.

If this is not possible then pointing all indexable links to domain2
directly is an option - but not an optimum. I'm just trying to figure
out if the optimum is possible before resorting to a compromise.

Right now, as it stands, none of the pages on either domain are
currently indexed by any SE as the robots.txt has been set to
Disallow: / since the beginning.

@Bernard
Unfortunately, it does not currently work fine. Google reads the
robots.txt file BEFORE attempting to follow the 301 - once it reads
the Disallow: / it then stops and never accesses the 301 at all,
meaning the second domain never gets indexed.

On Jun 4, 12:09 pm, Bernard Savonet <bernard.savo...@gmail.com> wrote:
> 2009/6/2 Ed Galligan <ed.galli...@gmail.com>
>
>
>
> > I already have a generic regexp mod_rewrite 301 in .htaccess doing
> > this. Is that what you meant?
>
> Yes.
> So eveything should be fine.
>
>
>
>
>
>
>
> > On Jun 1, 9:41 pm, Bernard Savonet <bernard.savo...@gmail.com> wrote:
> > > 1- It's possible
>
> > > 2 - If you don't want to get mad, it would be better to have some generic
> > > mechanism so that you 301 redirect each page to the correct page on the
> > new
> > > domain.
>
> > > 2009/6/1 Ed Galligan <ed.galli...@gmail.com>
>
> > > > I'm trying to figure out how to do something that might just be
> > > > impossible. Before I give up, I'll see if anyone here can possibly add
> > > > some insight.
>
> > > > I have two domains:
> > > > 1) domainone.com which I don't want indexed by search engines
> > > > 2) domaintwo.com which I do want indexed by search engines
>
> > > > Any content I have on domainone.com, I want to hide from search
> > > > engines, but then I have a 301 .htaccess redirect sending visitors to
> > > > domaintwo.com for any addresses that don't match content on
> > > > domainone.com
>
> > > > So for example, say I have a file called privatephoto.jpg that's at
> > > >http://domainone.com/privatephoto.jpg
> > > > The I have another file called information.html at
> > > >http://domaintwo.com/information.html
>
> > > > I want to hidehttp://domainone.com/privatephoto.jpgfromGoogle, BUT
> > > > I want Google to be able to seehttp://domainone.com/information.html
> > > > (which is a 301 redirect)
>
> > > > Is this completely impossible?
>
> > > --
> > > --------------
> > > Les peintures de Marine:http://markaonline.free.fr/accueil.htm
>
> --
> --------------
> Les peintures de Marine:http://markaonline.free.fr/accueil.htm

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Search Engine Optimization SEO Google - MSN - Yahoo" group.
To post to this group, send email to SEO1@googlegroups.com
To unsubscribe from this group, send email to SEO1+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/SEO1?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment