Going to a site with frames from a search engine?

J

JoKeR

I have tried searching for this on this site but I am not sure what it is
called.

I have a FP site with frames where the home page is index.htm.

How do I force a person coming from an external location/search engine to go
to the frameset instead of a nested page?

ie framset is index.htm; framset is made up of 3 pages (banner.htm,
navigation.htm and main.htm)

the main page changes to other content pages. When a user finds one of
these other content pages an either links to or manually enters the url for
that content page, they will only see the content page and not the frameset.

How to I ensure they always go to the frameset in this case?
How do I not allow folks to put in a url to a sub directory like...
(www.blah.com/subdirectory/content page.htm)?
 
M

Murray

How do I force a person coming from an external location/search engine to
go
to the frameset instead of a nested page?

You would have to place some javascript on each frame page that looks to see
if that page is the top level page, and if so, it would redirect to the
frameset page with that page loaded. This is but one of the many compelling
reasons why frames are rarely the optimal choice for your pages' layout.

Such redirection will penalize you with the search engines to boot. It's a
bad solution for a really bad layout choice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top