Skip to content

Commit 0c25494

Browse files
committed
robots.txt: disallow indexing of /error/403 page.
Correction for 839b331 commit.
1 parent fc91959 commit 0c25494

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/ru/mystamps/web/controller/RobotsTxtController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public void getRobotsText(HttpServletResponse response) {
5353
writer.println("Disallow: " + Url.ADD_SERIES_PAGE);
5454
writer.println("Disallow: " + Url.ADD_CATEGORY_PAGE);
5555
writer.println("Disallow: " + Url.UNAUTHORIZED_PAGE);
56+
writer.println("Disallow: " + Url.FORBIDDEN_PAGE);
5657
writer.println("Disallow: " + Url.NOT_FOUND_PAGE);
5758
writer.println("Disallow: " + Url.INTERNAL_ERROR_PAGE);
5859
writer.println("Sitemap: " + Url.PUBLIC_URL + Url.SITEMAP_XML);

0 commit comments

Comments
 (0)