Bazel DevSite: Fix links that rely on redirects (part 2).

This change fixes links that were missed in https://github.com/bazelbuild/bazel/commit/0c4cf501c83df845a1c9bf70fbaca955b0f51a4c /  https://github.com/bazelbuild/bazel/commit/0c4cf501c83df845a1c9bf70fbaca955b0f51a4c (which also contains more context).

PiperOrigin-RevId: 496683780
Change-Id: Ib8f59355645118c2cf94ee76bc799e47c0d2ad1a
diff --git a/site/en/docs/configurable-attributes.md b/site/en/docs/configurable-attributes.md
index ff79369..5b64ebc 100644
--- a/site/en/docs/configurable-attributes.md
+++ b/site/en/docs/configurable-attributes.md
@@ -637,7 +637,7 @@
 
 ## Bazel query and cquery {:#query-and-cquery}
 
-Bazel [`query`](//query/guide) operates over Bazel's
+Bazel [`query`](/query/guide) operates over Bazel's
 [loading phase](/reference/glossary#loading-phase).
 This means it doesn't know what command line flags a target uses since those
 flags aren't evaluated until later in the build (in the
@@ -1090,4 +1090,4 @@
 The Bazel team doesn't endorse doing this; it overly constrains your build and
 confuses users when the expected condition does not match.
 
-[BuildSettings]: /rules/config#user-defined-build-settings
+[BuildSettings]: /extending/config#user-defined-build-settings