Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



SEO Class in Chicago, IL

Learn How To Optimize Your Website on July 26, 2013


Looking for personalized in-depth SEO training among your peers?



High Rankings is offering a 1-day customized SEO training class in Chicago. Class size is limited so please sign-up now if you want in!



 


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo

Robots.txt And Redirects


  • Please log in to reply
1 reply to this topic

#1 torka

torka

    Vintage Babe

  • Moderator
  • 4,408 posts
  • Location:Triangle area, NC, USA, Earth (usually)

Posted 04 April 2008 - 12:20 PM

Normally I could probably figure this out, but its been a long week and I've been required to try to wrap my brain around so many different things I've run out of synapses to handle it all. surrender.gif

Let's say we're doing a direct mail campaign and we want custom landing pages to coordinate with each mailer. These landing pages are housed in subdirectories grouped under a main directory called mailers. I like this structure because we do a lot of direct mail marketing, and this keeps these landing pages all neatly segregated for the purposes of general site maintenance.

Let's say I have two subdirectories: mailer1 and mailer2, each of which contains a landing page for a different mailing piece. I've disallowed /mailers/ for all spiders in my robots.txt to prevent the subdirectories and their associated files from being indexed.

So far, so good. phew.gif

However, on the mailer itself, we don't want to direct customers to www.oursite.com/mailers/mailer1 because that's too wordy and hard to type, so instead we use www.oursite.com/shortword and issue a 301 redirect via .htaccess to route visitors to the correct page.

So here's the question: Could the SEs index the page under the URL www.oursite.com/shortword because that URL isn't disallowed by robots.txt? Or would the fact the actual destination page of the 301 redirect (www.oursite.com/mailers/mailer1) is disallowed by robots.txt be enough to keep them out? dntknw.gif

I'm uncharacteristically confused... wacko.gif

--Torka mf_prop.gif

#2 Alan Perkins

Alan Perkins

    Token male admin

  • Admin
  • 1,566 posts
  • Location:UK

Posted 04 April 2008 - 12:27 PM

QUOTE
So here's the question: Could the SEs index the page under the URL www.oursite.com/shortword because that URL isn't disallowed by robots.txt? Or would the fact the actual destination page of the 301 redirect (www.oursite.com/mailers/mailer1) is disallowed by robots.txt be enough to keep them out? dntknw.gif


The URL www.oursite.com/shortword could be indexed (partially indexed page), but the content would not be indexed because that content doesn't sit at www.oursite.com/shortword but at www.oursite.com/mailers/mailer1, which would never be read. If the content cannot be read, it cannot be indexed.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users