Where on earth should I put robots.txt?

Asked 2 years ago, Updated 2 years ago, 130 views

I uploaded the created site to the server -> Naver search registration was requested -> Webmaster Diagnostics When I turned around, I found that there were no robots.txt.Write a question because you don't know where to post it.

Then where should I put the robots.txt?

Q. Put everything in the path you said and test it. A. The server room is across the sea, so it is difficult to check right away..

robots.txt tomcat jsp

2022-09-22 19:35

1 Answers

You can put it where the context root points to.

It is a static file, so if you have a web server and you have separated the static resources, you should put them on the web server.

If only one Tomcat is in operation, you can leave it at /webapps/ROOT/.

The test method can be opened when http://address/robits.txt.


2022-09-22 19:35

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.