Commit 36df3589 authored by fjsanpedro's avatar fjsanpedro

Disallow WebIDE route in robots

parent cfc6a8bf
---
title: Disallow WebIDE route in robots.txt
merge_request: 46117
author:
type: changed
...@@ -22,6 +22,7 @@ Disallow: /users ...@@ -22,6 +22,7 @@ Disallow: /users
Disallow: /help Disallow: /help
Disallow: /s/ Disallow: /s/
Disallow: /-/profile Disallow: /-/profile
Disallow: /-/ide/
# Only specifically allow the Sign In page to avoid very ugly search results # Only specifically allow the Sign In page to avoid very ugly search results
Allow: /users/sign_in Allow: /users/sign_in
......
...@@ -35,6 +35,7 @@ RSpec.describe 'Robots.txt Requests', :aggregate_failures do ...@@ -35,6 +35,7 @@ RSpec.describe 'Robots.txt Requests', :aggregate_failures do
'/help', '/help',
'/s/', '/s/',
'/-/profile', '/-/profile',
'/-/ide/project',
'/foo/bar/new', '/foo/bar/new',
'/foo/bar/edit', '/foo/bar/edit',
'/foo/bar/raw', '/foo/bar/raw',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment