Skip to content

Commit 1737381

Browse files
committed
Fix canonical/OG URLs: remove /git-cheatsheet/ subdirectory path
All canonical, og:url, og:image, twitter:image, and JSON-LD urls now point to https://gitcheatsheets.org/ (root) instead of the old GitHub Pages subdirectory path /git-cheatsheet/. Fixes iOS copy URL showing the wrong path.
1 parent bed732d commit 1737381

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<!-- ============================================================
3333
CANONICAL
3434
============================================================ -->
35-
<link rel="canonical" href="https://gitcheatsheets.org/git-cheatsheet/">
35+
<link rel="canonical" href="https://gitcheatsheets.org/">
3636

3737
<!-- ============================================================
3838
OPEN GRAPH
@@ -41,8 +41,8 @@
4141
<meta property="og:site_name" content="Git &amp; GitHub Cheatsheet">
4242
<meta property="og:title" content="Git &amp; GitHub Cheatsheet — Complete Git Command Reference">
4343
<meta property="og:description" content="A fast, searchable Git and GitHub CLI cheatsheet covering every essential command: setup, branching, commits, diffs, stashing, remotes, pull requests, issues, actions, and releases.">
44-
<meta property="og:url" content="https://gitcheatsheets.org/git-cheatsheet/">
45-
<meta property="og:image" content="https://gitcheatsheets.org/git-cheatsheet/og-image.png">
44+
<meta property="og:url" content="https://gitcheatsheets.org/">
45+
<meta property="og:image" content="https://gitcheatsheets.org/og-image.png">
4646
<meta property="og:image:width" content="1200">
4747
<meta property="og:image:height" content="630">
4848
<meta property="og:image:alt" content="Git &amp; GitHub Cheatsheet — searchable command reference">
@@ -54,7 +54,7 @@
5454
<meta name="twitter:card" content="summary_large_image">
5555
<meta name="twitter:title" content="Git &amp; GitHub Cheatsheet — Complete Git Command Reference">
5656
<meta name="twitter:description" content="A fast, searchable Git and GitHub CLI cheatsheet covering every essential command: setup, branching, commits, diffs, stashing, remotes, pull requests, issues, actions, and releases.">
57-
<meta name="twitter:image" content="https://gitcheatsheets.org/git-cheatsheet/og-image.png">
57+
<meta name="twitter:image" content="https://gitcheatsheets.org/og-image.png">
5858
<meta name="twitter:image:alt" content="Git &amp; GitHub Cheatsheet — searchable command reference">
5959

6060
<!-- ============================================================
@@ -66,19 +66,19 @@
6666
"@type": "TechArticle",
6767
"name": "Git & GitHub Cheatsheet — Complete Git Command Reference",
6868
"description": "A fast, searchable Git and GitHub CLI cheatsheet covering every essential command: setup, branching, commits, diffs, stashing, remotes, pull requests, issues, actions, and releases.",
69-
"url": "https://gitcheatsheets.org/git-cheatsheet/",
69+
"url": "https://gitcheatsheets.org/",
7070
"inLanguage": "en-US",
7171
"author": {
7272
"@type": "Person",
7373
"name": "marc-bfa"
7474
},
7575
"datePublished": "2026-03-29",
76-
"dateModified": "2026-03-29",
76+
"dateModified": "2026-04-09",
7777
"keywords": "git, github, cli, cheatsheet, commands, version control, reference",
7878
"isPartOf": {
7979
"@type": "WebSite",
8080
"name": "Git & GitHub Cheatsheet",
81-
"url": "https://gitcheatsheets.org/git-cheatsheet/"
81+
"url": "https://gitcheatsheets.org/"
8282
}
8383
}
8484
</script>

0 commit comments

Comments
 (0)