Skip to content
Snippets Groups Projects
Commit 1690fe68 authored by Evan Read's avatar Evan Read
Browse files

Merge branch 'docs/disqus-identifier' into 'master'

Replace redirect_from with disqus_identifier in docs

See merge request gitlab-org/gitlab-ce!31595
parents 4fdd8762 0019ba3e
No related branches found
No related tags found
No related merge requests found
---
redirect_from: 'https://docs.gitlab.com/ee/articles/artifactory_and_gitlab/index.html'
disqus_identifier: 'https://docs.gitlab.com/ee/articles/artifactory_and_gitlab/index.html'
author: Fabio Busatto
author_gitlab: bikebilly
level: intermediate
Loading
Loading
---
redirect_from: 'https://docs.gitlab.com/ee/ci/examples/code_climate.html'
disqus_identifier: 'https://docs.gitlab.com/ee/ci/examples/code_climate.html'
type: reference, howto
---
 
Loading
Loading
---
redirect_from: 'https://docs.gitlab.com/ee/articles/laravel_with_gitlab_and_envoy/index.html'
disqus_identifier: 'https://docs.gitlab.com/ee/articles/laravel_with_gitlab_and_envoy/index.html'
author: Mehran Rasulian
author_gitlab: mehranrasulian
level: intermediate
Loading
Loading
Loading
Loading
@@ -170,7 +170,7 @@ Disqus uses an identifier per page, and for docs.gitlab.com, the page identifier
is configured to be the page URL. Therefore, when we change the document location,
we need to preserve the old URL as the same Disqus identifier.
 
To do that, add to the frontmatter the variable `redirect_from`,
To do that, add to the frontmatter the variable `disqus_identifier`,
using the old URL as value. For example, let's say I moved the document
available under `https://docs.gitlab.com/my-old-location/README.html` to a new location,
`https://docs.gitlab.com/my-new-location/index.html`.
Loading
Loading
@@ -179,11 +179,11 @@ Into the **new document** frontmatter add the following:
 
```yaml
---
redirect_from: 'https://docs.gitlab.com/my-old-location/README.html'
disqus_identifier: 'https://docs.gitlab.com/my-old-location/README.html'
---
```
 
Note: it is necessary to include the file name in the `redirect_from` URL,
Note: it is necessary to include the file name in the `disqus_identifier` URL,
even if it's `index.html` or `README.html`.
 
## Branch naming
Loading
Loading
---
type: reference, howto
disqus_identifier: 'https://docs.gitlab.com/ee/user/project/merge_requests/code_quality_diff.html'
---
 
# Code Quality **(STARTER)**
Loading
Loading
---
redirect_from: 'code_quality_diff.md'
redirect_to: 'code_quality.md'
---
 
Loading
Loading
---
last_updated: 2019-07-04
type: reference, howto
redirect_from: 'https://docs.gitlab.com/ee/user/project/pages/getting_started_part_three.html'
disqus_identifier: 'https://docs.gitlab.com/ee/user/project/pages/getting_started_part_three.html'
---
 
# Custom domains and SSL/TLS Certificates
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment