Jump to content

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

Subscribe to HRA Now!

 



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!


Sponsored Content

 

 
 

Photo
- - - - -

S/e Friendly Redirects On All Pages To Index


  • Please log in to reply
4 replies to this topic

#1 Richard

Richard

    HR 1

  • Members
  • Pip
  • 7 posts

Posted 12 October 2003 - 05:11 AM

I need to redirect all my pages to my Home_page (reason: because they are supposed to be viewed within iframes) However, they need to be S/E friendly AND whatever tecknique I use to 'redirect' needs to be turned off from home_page calls to these inner pages. I have experimented with Javascript document.referrer scripts, but had problems with loops and i'm now sceptical about how S/Es view this sort of redirect anyway. From some looking about I think maybe .htaccess could provide the answer and also reduce a lot of page coding. using "Redirect or RewriteRule". I'm a bit confused which way to go. Can some one please help me here?

#2 csjavi

csjavi

    HR 4

  • Active Members
  • PipPipPipPip
  • 148 posts
  • Location:Tampere, Finland

Posted 12 October 2003 - 12:28 PM

I can't think of a practical way to do this in .htaccess. Using referrer info is a possibility but that would probably lead to the same problems as with your javascript. I can set my browser not to send referrer info in two seconds. Without referrer info you'd get an interesting recursion. That might lead to a spectacular browser crash. :lol:

You really should consider using server side include instead of frames.

#3 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 5,886 posts
  • Location:Blackpool UK

Posted 12 October 2003 - 01:21 PM

while I would prefer to re-write out the frames and use SSI or scripting the html code on to the page, Using Self Referencing Framsets is a good option.
I've just added this to an existing framed site and the conversion rate is now starting upwards. :thumbsup:

One thing to be aware of is if you have a link in the page with the SRF that calls another page with SRF make sure you add target="_parent" to the link, otherwise you will create another frameset inside the frameset.


Chris.

#4 Scottie

Scottie

    Psycho Mom

  • Admin
  • 6,294 posts
  • Location:Columbia, SC

Posted 12 October 2003 - 01:26 PM

Welcome to the forum, Richard!

#5 Richard

Richard

    HR 1

  • Members
  • Pip
  • 7 posts

Posted 12 October 2003 - 04:07 PM

Thanks for the above comments, especially the info on self referencing framesets.

I have now implemented this technique that appears to work well

Richard

Edited by Richard, 14 October 2003 - 08:26 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users