Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » disabling the eclipse scout application from indexing by robots
disabling the eclipse scout application from indexing by robots [message #1808674] Fri, 28 June 2019 13:09 Go to next message
Krzysztof Leja is currently offline Krzysztof LejaFriend
Messages: 46
Registered: April 2019

My Eclipse Scout application will be exposed via internet. However, I would not like it to appear as a result of search in popular web searches (like google). According to the HTML standard, for this purpose you can use, for example, one of the following methods:

  • Put in the HTML code the following fragment in the <head> section of each html page:
    <meta name="robots" content="noindex">

  • Return the appropriate parameter ( X-Robots-Tag: noindex) in the header of each HTTP response

What is the best way to achieve similar results in Eclipse Scout framework?
Re: disabling the eclipse scout application from indexing by robots [message #1809067 is a reply to message #1808674] Mon, 08 July 2019 09:07 Go to previous message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 133
Registered: September 2012
Location: Baden-D├Ąttwil, Switzerla...
Senior Member
Hi Krzysztof

Since Scout is a single page app (SPA) and all of the HTML you see on the screen is generated by client-side JavaScript you don't have to worry about search indices, because a SPA cannot be indexed by a robot. You can use standard methods to control search robots, simply put the robots.txt in the folder /src/main/resources/WebContent. In the same directory you'll find the "index.html", which is a rather static file in every Scout application and add the meta tags you mentioned in your post.

Eclipse Scout Homepage | Documentation | GitHub
Previous Topic:data transfer from TreeField to the server module
Next Topic:Image browser widget
Goto Forum:

Current Time: Fri Sep 25 11:32:01 GMT 2020

Powered by FUDForum. Page generated in 0.02390 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top