Update broken links to .bazelrc file

RELNOTES: None
PiperOrigin-RevId: 221984695
diff --git a/site/docs/best-practices.md b/site/docs/best-practices.md
index 7d643d0..e186284 100644
--- a/site/docs/best-practices.md
+++ b/site/docs/best-practices.md
@@ -72,7 +72,7 @@
 ## `.bazelrc`
 
 For project-specific options, use the configuration file `_your-workspace_/.bazelrc` (see
-[bazelrc format](https://docs.bazel.build/user-manual.html#bazelrc)).
+[bazelrc format](https://docs.bazel.build/guide.html#bazelrc)).
 
 If you want to support per-user options for your project that you **do not** want to check
 into source control, include the line
diff --git a/site/docs/build-javascript.md b/site/docs/build-javascript.md
index 52fa556..c2e7307 100644
--- a/site/docs/build-javascript.md
+++ b/site/docs/build-javascript.md
@@ -75,7 +75,7 @@
 ### Step 3: Configuring the `bazel.rc` file
 
 Any Bazel build flag or option that can be placed on the command line can also
-be set in the project's [`bazel.rc` file](https://docs.bazel.build/versions/master/user-manual.html#bazelrc)
+be set in the project's [`bazel.rc` file](https://docs.bazel.build/guide.html#bazelrc)
 so that it is applied every time Bazel builds or tests the project.
 
 Based on how you want to share Bazel settings across your project and team(s),