Help with .htaccess / express

I need to hide an html project in glitch from search engines. I heard you can do it in express, but I haven’t found an express tutorial that tells me how to do it and I don’t know where to find the ExpressJS file. Sorry I’m very new to all this. If anybody could help me, I’d really appreciate it. Thank you very much in advance

You can just keep your project private :slight_smile: @rammarin

You can use this meta tag in a HTML to ensure a page doesn’t show on search engines

<meta name="robots" content="noindex">
1 Like

Is there any way to hide the entire project from search engines with only one tag?

This ^^^^^^^^^^^
@rammarin

Ok. Thank you so much, @icode

Your welcome, but people can still see the project if you give them your project url @rammarin

OK. Thanks a lot, @anon70439135

1 Like

Also be sure to add a robots.txt file to your project.
https://www.robotstxt.org/

Ok. Thank you, @RiversideRocks

1 Like

Just wanted to make something clear for ya, making a project private only hides the project editor and code from public view, the live app page (projectname.glitch.me) will still be public and search engines can still index the project app in searches. Your best bet is to make the project private and add a robots.txt file as suggested by others.

1 Like