velsa / notehost

Free Hosting for Notion Sites!
MIT License
107 stars 10 forks source link

No index, no follow? #47

Open jgregoryjones opened 2 weeks ago

jgregoryjones commented 2 weeks ago

I have an educational site that was on Fruition, which finally broke today. I had it set so that search engines did not crawl my content. This feature doesn’t seem to exist here. I assume I need some like meta name="robots" content="noindex" but I have no idea how to implement this. Any help would be appreciated.

DudeThatsErin commented 2 days ago

It looks like that is handled by NoteHost directly so there is no way to add a no index no follow unless you fork the code and add it to the src/handlers-api.ts file yourself but I would not recommend that.

DudeThatsErin commented 2 days ago

Scratch that. @jgregoryjones you should be able to add something like this to the worker in Cloudflare. If you go into the worker and edit the code, you should be able to add it in the code around line 400.