Website questions... 8-)

Hello!

Dear ALL,

I need some help from your side…

we’ve got website, which has such structure

first page ( frames ) http://server/web/index.nsf

and all other pages are different databases, like this :

http://server/web/01.nsf

http://server/web/02.nsf

http://server/web/03.nsf

http://server/web/04.nsf

the 2 question are :

  1. how to prevent direct access to http://server/web/01.nsf,

but to make only via main navigation database http://server/web/index.nsf

  1. also how to prevent search engines to index these 01,02,03 databases,

but make indexing only of http://server/web/index.nsf and smth.

like http://server/web/1 where this URL is right view of http://server/web/01.nsf

via main http://server/web/index.nsf

Anybody has any ideas? .htaccess? or what?

Thanx!

Vbrgs, Pavel.

Subject: website questions… :sunglasses:

  1. you say that you use a frameset(?), you could add some javascript on pages in other dbs, so that it verifies that it is being opened in the right frame; disabling javascript may render this option invalid, but then you may make use of javascript to render some content, so that disabling it will cause pages redirect to the index page (be creative;-). or you can have computed content that depends on the “http_referer” value and shows content only if referer is current db or index.nsf. In case you simply want people to open the next page only if they have viewed the index page, you can use cookies.

  2. you should be able to add metatag in pages

that all behaving robots should abide and/or use robots.txt to define what may be indexed.

Subject: RE: website questions… :sunglasses:

Dear Normunds,

  1. well, possibly nice idea! :wink:

  2. what I really want, is that search engines

index all pages incliuding all nsf, but

as not separate nsf’s… but as one content

with navigation from main nsf. Because if users

opens 01,02,03 nsf directly they can’t see navigation… some do you think javascript trick will work for search engines also? :wink:

Vbgrs, Pavel

Subject: RE: website questions… :sunglasses:

Hi,

The search engines will not automatically go through the server picking the NSF’s .

In your case they will start with the homepage of the domain and follow hyperlinks to the other databases, therefore only the webpages that are accessible by visitors to the site.

regards,

Jon.

Subject: RE: website questions… :sunglasses:

if you are concerned only about navigation then having javascript that checks if the document is in right frame should be enough. If the document is not framed (person has opened the link directly, possibly from a search engin results) it redirects to the navigation passing in the the url the address of the page they tried to access.

About – if search engines get put off by javascript(?) They are getting pretty smart in sorting out different user tricks to get better ratings; i would not be surprised if they can tell the content generated by Javascript and include it in search index.

But in your case I did not mean that javascript trick has anything to do with search engines. Once the robot follows the link it will index the particular page, not the whole frameset. That’s why the use of framsets is really annoying – indexing/bookmarking never captures what the person really sees; bookmarks get only the frame set or index indexes a single frame. So from the bookmark you can never get back to what the user saw at the moment he chose to bookmark the page/frameset and jumping to an indexed page will at the best bring it up in a default frameset (javascript as above, etc)