Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New property ServerController.SessionOptions.AllowSearchEngines
#3
(08-21-2019, 06:51 AM)JuergenS Wrote: Hi,

I already use my own installed content handler for search engines along with the options
ServerController.SearchEngineOptions->RedirectToContentHandler and
ServerController.SearchEngineOptions->ContentHandlerPath.

Will that still work if I set ServerController.SessionOptions.AllowSearchEngines = false ?

What is the content of the build-in robots.txt file and where it will be located ?

Regards
JuergenS

Hi Juergen,

SessionOptions.AllowSearchEngines := False

will block SearchEngines completely. Your content handler won't work because the request from the SearchEngine will be intercepted before.

Built-in Robots.txt contains this:

User-agent: *
Disallow: /

However, it will only be used if AllowSearchEngines is False. Otherwise, you can use your own Robots.txt file in wwwroot folder.

If you want it to behave like previous versions, just set AllowSearchEngines to TRUE and the new feature will be completely disabled.
Reply


Messages In This Thread
RE: New property ServerController.SessionOptions.AllowSearchEngines - by Alexandre Machado - 08-24-2019, 01:22 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)