search engine troubles...
- Started
- Last post
- 10 Responses
- virtu
i was wondering if there is anyway to have a search engine target only your index page. I am building a site that operates primarily on iframes, and i dont really want an engine to bring in iframe html documents for people to view.
is there some script that i can insert into every page to redirect to the index page if people hit it a page that is to be loaded into an iframe?
if i need to clarify, let me know.thx.
___mje
- autonoma0
On the pages you don't want indexed, place this in the head:
meta name="robots" content="noindex,nofollow"
- virtu0
what exactly does that do?
thx.
___mje
- autonoma0
Also, there are a number of useful scripts out there that send the user to the main, framed page if they land on the wrong page.
- bhawk0
hmm... check the post I made earlier about searh engines. Wow what you secret? I can barley get the index to come up. But I am curse with a saturated subject. :( But ya there is a jave skip on onload function. I don't know it off hand thou. Sry.
- autonoma0
It tells the search engine not to index the page and not to follow the links from that page to other pages in the site.
- virtu0
bhawk,
can you recommend a place to find that onLoad script?
thx.
___mje
- jevad0
stick this:
In all your iframes
- jevad0
hahahah
stupid thing:
if (window == top)
{
top.location.href = "index.html";
}
- virtu0
jevad_
put that in the head right?
thx.
___mje
- jevad0
yep - inbetween an open and close script tag