How is your experience with the OutSystems Community?
15
Views
3
Comments
Robots.txt production vs non-production
Application Type
Reactive

Hi!

I would like to implement a robots.txt, but I would like to have different content for production and non-production environments. I was thinking about a solution like the extensibility configuration in O11 Mobile, but for Reactive there is no solution like that.  I've looked in the community also for a solution but all questions/answers on the robots.txt topic are quite old. Another solution I found via Google is using an REST API, but at this point that feels more like a hack then a solid solution in my opinion.

So far I didn't find a solution for this. I'm working in O11 Reactive.

I'm hoping someone has some new insights or ideas.

Thanks,
Willem

2021-09-06 15-09-53
Dorine Boudry
 
MVP

have you considered using FileSystem ?

2023-04-05 07-54-24
Willem Notten

I did not. I will take a look at that idea, thanks

2019-01-07 16-04-16
Siya
 
MVP

Please see if this article helps @ https://success.outsystems.com/documentation/11/building_apps/search_engine_optimization_in_apps/seo_for_outsystems_reactive_web_apps_vs_traditional_web_apps/improved_crawlability_for_reactive_web_apps/

Also, you can handle search engine crawlers completely outside the platform using reverse proxies like NGINX.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.