By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,521 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,521 IT Pros & Developers. It's quick & easy.

iframes and redirection

P: n/a
hi fellow web developers!

I have a bit of a concern. I developed a main page that is a page
that contains 3 iframes - a header iframe, a body iframe, and a footer
iframe. My concern is that if search engines can only read the body
content on the body.html

So... I want to write something for these body.htmls so that if the
person clicks through a search engine link to go directly to the
body.html page, they instead will be redirected to the main.html page
- which contains the expected header, body.html, and footer iframes.

is there a way to do this? Any ideas?
Sep 8 '08 #1
Share this Question
Share on Google+
13 Replies


P: n/a
On Mon, 8 Sep 2008, tr************@gmail.com wrote:
I have a bit of a concern. I developed a main page that is a page
that contains 3 iframes - a header iframe, a body iframe, and a footer
iframe.
Any ideas?
Don't use frames.
Don't use iframes.

--
In memoriam Alan J. Flavell
http://www.alanflavell.org.uk/charset/
Sep 8 '08 #2

P: n/a
On Sep 8, 12:34*pm, Andreas Prilop <prilop4...@trashmail.netwrote:
On Mon, 8 Sep 2008, trfilmograp...@gmail.com wrote:
I have a bit of a concern. *I developed a main page that is a page
that contains 3 iframes - a header iframe, a body iframe, and a footer
iframe.
Any ideas?

Don't use frames.
Don't use iframes.
I didn't. Sadly I hired someone to redo my site that did. So now Im
trying to make the best of the situation without redoing the entire
site
Sep 8 '08 #3

P: n/a
Gazing into my crystal ball I observed ad***********@gmail.com writing
in news:4d4b108a-1e8f-481f-adae-
66**********@n33g2000pri.googlegroups.com:
On Sep 8, 12:34*pm, Andreas Prilop <prilop4...@trashmail.netwrote:
>On Mon, 8 Sep 2008, trfilmograp...@gmail.com wrote:
I have a bit of a concern. *I developed a main page that is a page
that contains 3 iframes - a header iframe, a body iframe, and a
footer
iframe.
Any ideas?

Don't use frames.
Don't use iframes.

I didn't. Sadly I hired someone to redo my site that did. So now Im
trying to make the best of the situation without redoing the entire
site
A redo isn't going to be that bad if you use includes and search and
replace.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Sep 8 '08 #4

P: n/a
Andreas Prilop wrote:
On Mon, 8 Sep 2008, tr************@gmail.com wrote:
>I have a bit of a concern. I developed a main page that is a page
that contains 3 iframes - a header iframe, a body iframe, and a footer
iframe.
Any ideas?

Don't use frames.
Don't use iframes.
Why not? I want to use a frame to display on the home page
a half dozen text lines from a file that is generated automaticly,
but I don't want to regenerate the home page so frequently.
Sep 8 '08 #5

P: n/a
Gazing into my crystal ball I observed Rick Merrill
<ri***********@gmail.comwriting in news:Y_ednVJ-
qc**********************@comcast.com:
Andreas Prilop wrote:
>On Mon, 8 Sep 2008, tr************@gmail.com wrote:
>>I have a bit of a concern. I developed a main page that is a page
that contains 3 iframes - a header iframe, a body iframe, and a
footer
>>iframe.
Any ideas?

Don't use frames.
Don't use iframes.

Why not? I want to use a frame to display on the home page
a half dozen text lines from a file that is generated automaticly,
but I don't want to regenerate the home page so frequently.
Use a server side include.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Sep 8 '08 #6

P: n/a
In article
<ee**********************************@t1g2000pra.g ooglegroups.com>,
tr************@gmail.com wrote:
hi fellow web developers!

I have a bit of a concern. I developed a main page that is a page
that contains 3 iframes - a header iframe, a body iframe, and a footer
iframe. My concern is that if search engines can only read the body
content on the body.html

So... I want to write something for these body.htmls so that if the
person clicks through a search engine link to go directly to the
body.html page, they instead will be redirected to the main.html page
- which contains the expected header, body.html, and footer iframes.

is there a way to do this? Any ideas?
If you irresistibly want to use frames, read:

<http://www.markparnell.com.au/articles/frames.php>

Make sure that if a search engine finds a frame all on its lonesome,
that frame has a device in it to alert the user to go to the frameset
page which is its true home.

You would be surprised to know how many lost frames can turn up on the
internet. I run a small not-for-profit agency that takes them in and we
look for their siblings and proper home and try as best as we can to
reunite them all. Many of them are in extremely depressed states. sad.

But there are some frames that are perfectly happy - we don't take these
in - because they were "only-children". That is, they never really
needed to be in a frameset in the first place.

Anyway, if you find any of this advice helpful, you might like toshow
your appreciation by donating to the refuge I run. $US only please.

--
dorayme
Sep 8 '08 #7

P: n/a
dorayme wrote:
In article
<ee**********************************@t1g2000pra.g ooglegroups.com>,
tr************@gmail.com wrote:
>hi fellow web developers!

I have a bit of a concern. I developed a main page that is a page
that contains 3 iframes - a header iframe, a body iframe, and a footer
iframe. My concern is that if search engines can only read the body
content on the body.html

So... I want to write something for these body.htmls so that if the
person clicks through a search engine link to go directly to the
body.html page, they instead will be redirected to the main.html page
- which contains the expected header, body.html, and footer iframes.

is there a way to do this? Any ideas?

If you irresistibly want to use frames, read:

<http://www.markparnell.com.au/articles/frames.php>

Hmmm,

"Separate frameset for every page One of the major problems with frames
is that your visitors cannot bookmark a particular page on your site.
They have to bookmark the home page, and then every time they come back,
try and find their way through your menus to the page they actually want
- if they can even remember which page it was."

Eh? Won't that just defeat the only "virtue" of frames, by making you
recreate all the "static" parts of the page? You might as well just do
static, frameless pages.

With SSI|PHP so ubiquitous and cheap there is very little need for
frames. With the hopeful death of IE6 (and maybe 7 too) even less need
for frames.

BTW, where has Mark been these days...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Sep 9 '08 #8

P: n/a
On 8 Sep, 17:48, adam.ornst...@gmail.com wrote:
Don't use frames.
Don't use iframes.

I didn't. *Sadly I hired someone to redo my site that did. *So now Im
trying to make the best of the situation without redoing the entire
site
Don't use frames.
Don't use iframes.
Don't use people who use frames.
Redo.
Sep 9 '08 #9

P: n/a
ad***********@gmail.com writes:
On Sep 8, 12:34*pm, Andreas Prilop <prilop4...@trashmail.netwrote:
>On Mon, 8 Sep 2008, trfilmograp...@gmail.com wrote:
I have a bit of a concern. *I developed a main page that is a page
that contains 3 iframes - a header iframe, a body iframe, and a footer
iframe.
Any ideas?

Don't use frames.
Don't use iframes.

I didn't. Sadly I hired someone to redo my site that did. So now Im
trying to make the best of the situation without redoing the entire
site
I hope you've at least withheld payment, and will be suing them for
the cost of cleaning up his or her mess. Someone who claims to be a
pro and charges for their work, should be held accountable when they
deliver a shoddy product.

You did have a contract, right? And the contract did specify that the
work would be done according to standard best practices, right?

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Sep 9 '08 #10

P: n/a
In comp.infosystems.www.authoring.html message <doraymeRidThis-
63*******************@web.aioe.org>, Tue, 9 Sep 2008 08:41:36, dorayme
<do************@optusnet.com.auposted:
>
Make sure that if a search engine finds a frame all on its lonesome,
that frame has a device in it to alert the user to go to the frameset
page which is its true home.
But the frameset page is not necessarily a sole true home. A site can
be constructed to be workable entirely without frames, including the
entry page, but to allow adding of frames for those (probably with large
screens) who want them.

Example : <http://www.merlyn.demon.co.uk/frames-4.htm?dm034-24.htm>

--
(c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)
Sep 10 '08 #11

P: n/a
In article <$D**************@invalid.uk.co.demon.merlyn.inval id>,
Dr J R Stockton <jr*@merlyn.demon.co.ukwrote:
In comp.infosystems.www.authoring.html message <doraymeRidThis-
63*******************@web.aioe.org>, Tue, 9 Sep 2008 08:41:36, dorayme
<do************@optusnet.com.auposted:

Make sure that if a search engine finds a frame all on its lonesome,
that frame has a device in it to alert the user to go to the frameset
page which is its true home.

But the frameset page is not necessarily a sole true home. A site can
be constructed to be workable entirely without frames, including the
entry page, but to allow adding of frames for those (probably with large
screens) who want them.

Example : <http://www.merlyn.demon.co.uk/frames-4.htm?dm034-24.htm>
I have no disagreement here. A reality check though: anyone who makes a
framed site these days is quite unlikely to get this complex. The
simplest thing anyone can do in a framed site is make sure there is a
link back to the home page in each frame or at least a link to a
frameset that contains it along with general site navigation.

--
dorayme
Sep 11 '08 #12

P: n/a
dorayme wrote:
In article
<ee**********************************@t1g2000pra.g ooglegroups.com>,
tr************@gmail.com wrote:
>hi fellow web developers!

I have a bit of a concern. I developed a main page that is a page
that contains 3 iframes - a header iframe, a body iframe, and a footer
iframe. My concern is that if search engines can only read the body
content on the body.html

So... I want to write something for these body.htmls so that if the
person clicks through a search engine link to go directly to the
body.html page, they instead will be redirected to the main.html page
- which contains the expected header, body.html, and footer iframes.

is there a way to do this? Any ideas?

If you irresistibly want to use frames, read:

<http://www.markparnell.com.au/articles/frames.php>
Yes, I still want to use frame because I do not want the content
indexed/googled and it will not display a bookmarkable URL.

Make sure that if a search engine finds a frame all on its lonesome,
that frame has a device in it to alert the user to go to the frameset
page which is its true home.

You would be surprised to know how many lost frames can turn up on the
internet. I run a small not-for-profit agency that takes them in and we
look for their siblings and proper home and try as best as we can to
reunite them all. Many of them are in extremely depressed states. sad.

But there are some frames that are perfectly happy - we don't take these
in - because they were "only-children". That is, they never really
needed to be in a frameset in the first place.

Anyway, if you find any of this advice helpful, you might like toshow
your appreciation by donating to the refuge I run. $US only please.
Sep 12 '08 #13

P: n/a
I didn't. Sadly I hired someone

Frames are bad for search engines for one. Better to
use server-side includes or some server side language.
--
best regards
Thomas Schulz :: A1 Sitemap Generator
http://www.micro-sys.dk/products/sitemap-generator/
Sep 18 '08 #14

This discussion thread is closed

Replies have been disabled for this discussion.