diff --git a/docs/html/user_guide.rst b/docs/html/user_guide.rst
index 73a2643223b..d672be02e20 100644
--- a/docs/html/user_guide.rst
+++ b/docs/html/user_guide.rst
@@ -788,8 +788,6 @@ archives are built with identical packages.
to use such a package, see :ref:`Controlling
setup_requires`.
-.. _`Using pip from your program`:
-
Fixing conflicting dependencies
===============================
@@ -971,6 +969,8 @@ issue tracker`_ if you believe that your problem has exposed a bug in pip.
.. _"How do I ask a good question?": https://stackoverflow.com/help/how-to-ask
.. _pip issue tracker: https://github.com/pypa/pip/issues
+.. _`Using pip from your program`:
+
Using pip from your program
===========================
diff --git a/news/8781.trivial b/news/8781.trivial
new file mode 100644
index 00000000000..e6044f52f7d
--- /dev/null
+++ b/news/8781.trivial
@@ -0,0 +1 @@
+Fix a broken slug anchor in user guide.