Skip to content

Commit ed48eab

Browse files
author
Peter Bengtsson
authored
check for redirect orphans (#23330)
* check for redirect orphans Part of #1303 * timeout * avoid external redirects in redirects_from too * delete content/admin/advanced-security/viewing-your-github-advanced-security-usage.md * remove from children: too * remove some trailing slashes in redirect_froms * fix a few more trailing slash redirects * delete orphan pages
1 parent 17e33bb commit ed48eab

File tree

23 files changed

+116
-228
lines changed

23 files changed

+116
-228
lines changed

content/admin/advanced-security/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ children:
1515
- /enabling-github-advanced-security-for-your-enterprise
1616
- /configuring-code-scanning-for-your-appliance
1717
- /configuring-secret-scanning-for-your-appliance
18-
- /viewing-your-github-advanced-security-usage
1918
- /overview-of-github-advanced-security-deployment
2019
- /deploying-github-advanced-security-in-your-enterprise
2120
---
22-

content/admin/advanced-security/viewing-your-github-advanced-security-usage.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

content/communities/moderating-comments-and-conversations/managing-disruptive-comments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Managing disruptive comments
33
intro: 'You can {% ifversion fpt or ghec %}hide, edit,{% else %}edit{% endif %} or delete comments on issues, pull requests, and commits.'
44
redirect_from:
5-
- /articles/editing-a-comment/
6-
- /articles/deleting-a-comment/
5+
- /articles/editing-a-comment
6+
- /articles/deleting-a-comment
77
- /articles/managing-disruptive-comments
88
- /github/building-a-strong-community/managing-disruptive-comments
99
versions:
@@ -18,7 +18,7 @@ shortTitle: Manage comments
1818

1919
## Hiding a comment
2020

21-
Anyone with write access to a repository can hide comments on issues, pull requests, and commits.
21+
Anyone with write access to a repository can hide comments on issues, pull requests, and commits.
2222

2323
If a comment is off-topic, outdated, or resolved, you may want to hide a comment to keep a discussion focused or make a pull request easier to navigate and review. Hidden comments are minimized but people with read access to the repository can expand them.
2424

content/desktop/installing-and-configuring-github-desktop/overview/keyboard-shortcuts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Keyboard shortcuts
33
intro: 'You can use keyboard shortcuts in {% data variables.product.prodname_desktop %}.'
44
redirect_from:
5-
- /desktop/getting-started-with-github-desktop/keyboard-shortcuts-in-github-desktop/
5+
- /desktop/getting-started-with-github-desktop/keyboard-shortcuts-in-github-desktop
66
- /desktop/getting-started-with-github-desktop/keyboard-shortcuts
77
- /desktop/installing-and-configuring-github-desktop/keyboard-shortcuts
88
versions:

content/developers/github-marketplace/selling-your-app-on-github-marketplace/receiving-payment-for-app-purchases.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
title: Receiving payment for app purchases
33
intro: 'At the end of each month, you''ll receive payment for your {% data variables.product.prodname_marketplace %} listing.'
44
redirect_from:
5-
- /apps/adding-integrations/managing-pricing-and-payments-for-a-github-marketplace-listing/receiving-payment-for-a-github-marketplace-listing/
6-
- /apps/marketplace/managing-pricing-and-payments-for-a-github-marketplace-listing/receiving-payment-for-a-github-marketplace-listing/
7-
- /apps/marketplace/pricing-payments-and-free-trials/receiving-payment-for-a-github-marketplace-listing/
8-
- /apps/marketplace/selling-your-app/receiving-payment-for-github-marketplace-listings/
5+
- /apps/adding-integrations/managing-pricing-and-payments-for-a-github-marketplace-listing/receiving-payment-for-a-github-marketplace-listing
6+
- /apps/marketplace/managing-pricing-and-payments-for-a-github-marketplace-listing/receiving-payment-for-a-github-marketplace-listing
7+
- /apps/marketplace/pricing-payments-and-free-trials/receiving-payment-for-a-github-marketplace-listing
8+
- /apps/marketplace/selling-your-app/receiving-payment-for-github-marketplace-listings
99
- /marketplace/selling-your-app/receiving-payment-for-github-marketplace-listings
1010
- /developers/github-marketplace/receiving-payment-for-app-purchases
1111
versions:

content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/why-wasnt-my-application-for-a-student-developer-pack-approved.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ intro: 'Review common reasons that applications for the {% data variables.produc
44
redirect_from:
55
- /education/teach-and-learn-with-github-education/why-wasnt-my-application-for-a-student-developer-pack-approved
66
- /github/teaching-and-learning-with-github-education/why-wasnt-my-application-for-a-student-developer-pack-approved
7-
- /articles/why-was-my-application-for-a-student-developer-pack-denied/
7+
- /articles/why-was-my-application-for-a-student-developer-pack-denied
88
- /articles/why-wasn-t-my-application-for-a-student-developer-pack-approved
99
- /articles/why-wasnt-my-application-for-a-student-developer-pack-approved
1010
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/why-wasnt-my-application-for-a-student-developer-pack-approved

content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/apply-for-an-educator-or-researcher-discount.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ intro: 'If you''re an educator or a researcher, you can apply to receive {% data
44
redirect_from:
55
- /education/teach-and-learn-with-github-education/apply-for-an-educator-or-researcher-discount
66
- /github/teaching-and-learning-with-github-education/applying-for-an-educator-or-researcher-discount
7-
- /articles/applying-for-a-classroom-discount/
8-
- /articles/applying-for-a-discount-for-your-school-club/
9-
- /articles/applying-for-an-academic-research-discount/
10-
- /articles/applying-for-a-discount-for-your-first-robotics-team/
7+
- /articles/applying-for-a-classroom-discount
8+
- /articles/applying-for-a-discount-for-your-school-club
9+
- /articles/applying-for-an-academic-research-discount
10+
- /articles/applying-for-a-discount-for-your-first-robotics-team
1111
- /articles/applying-for-an-educator-or-researcher-discount
1212
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-an-educator-or-researcher-discount
1313
versions:

content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ intro: Review common reasons that applications for an educator or researcher dis
44
redirect_from:
55
- /education/teach-and-learn-with-github-education/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved
66
- /github/teaching-and-learning-with-github-education/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved
7-
- /articles/why-was-my-application-for-an-educator-or-researcher-discount-denied/
7+
- /articles/why-was-my-application-for-an-educator-or-researcher-discount-denied
88
- /articles/why-wasn-t-my-application-for-an-educator-or-researcher-discount-approved
99
- /articles/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved
1010
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved

content/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
title: About custom domains and GitHub Pages
33
intro: '{% data variables.product.prodname_pages %} supports using custom domains, or changing the root of your site''s URL from the default, like `octocat.github.io`, to any domain you own.'
44
redirect_from:
5-
- /articles/about-custom-domains-for-github-pages-sites/
6-
- /articles/about-supported-custom-domains/
7-
- /articles/custom-domain-redirects-for-your-github-pages-site/
5+
- /articles/about-custom-domains-for-github-pages-sites
6+
- /articles/about-supported-custom-domains
7+
- /articles/custom-domain-redirects-for-your-github-pages-site
88
- /articles/about-custom-domains-and-github-pages
99
- /github/working-with-github-pages/about-custom-domains-and-github-pages
1010
product: '{% data reusables.gated-features.pages %}'
@@ -58,7 +58,7 @@ An apex domain is configured with an `A`, `ALIAS`, or `ANAME` record through you
5858

5959
## Securing the custom domain for your {% data variables.product.prodname_pages %} site
6060

61-
{% data reusables.pages.secure-your-domain %} For more information, see "[Verifying your custom domain for {% data variables.product.prodname_pages %}](/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages)" and "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/articles/managing-a-custom-domain-for-your-github-pages-site)."
61+
{% data reusables.pages.secure-your-domain %} For more information, see "[Verifying your custom domain for {% data variables.product.prodname_pages %}](/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages)" and "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/articles/managing-a-custom-domain-for-your-github-pages-site)."
6262

6363
There are a couple of reasons your site might be automatically disabled.
6464

content/pages/configuring-a-custom-domain-for-your-github-pages-site/index.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
title: Configuring a custom domain for your GitHub Pages site
33
intro: 'You can customize the domain name of your {% data variables.product.prodname_pages %} site.'
44
redirect_from:
5-
- /articles/tips-for-configuring-an-a-record-with-your-dns-provider/
6-
- /articles/adding-or-removing-a-custom-domain-for-your-github-pages-site/
7-
- /articles/configuring-an-a-record-with-your-dns-provider/
8-
- /articles/using-a-custom-domain-with-github-pages/
9-
- /articles/tips-for-configuring-a-cname-record/
10-
- /articles/setting-up-a-custom-domain-with-pages/
11-
- /articles/setting-up-a-custom-domain-with-github-pages/
5+
- /articles/tips-for-configuring-an-a-record-with-your-dns-provider
6+
- /articles/adding-or-removing-a-custom-domain-for-your-github-pages-site
7+
- /articles/configuring-an-a-record-with-your-dns-provider
8+
- /articles/using-a-custom-domain-with-github-pages
9+
- /articles/tips-for-configuring-a-cname-record
10+
- /articles/setting-up-a-custom-domain-with-pages
11+
- /articles/setting-up-a-custom-domain-with-github-pages
1212
- /articles/configuring-a-custom-domain-for-your-github-pages-site
1313
- /github/working-with-github-pages/configuring-a-custom-domain-for-your-github-pages-site
1414
product: '{% data reusables.gated-features.pages %}'
@@ -24,4 +24,3 @@ children:
2424
- /troubleshooting-custom-domains-and-github-pages
2525
shortTitle: Configure a custom domain
2626
---
27-

0 commit comments

Comments
 (0)