Skip to content

Docs: remove "Canonical URLs" guide #11516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions docs/user/canonical-urls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ and this is one of the suggested ways to solve it from search engines.

.. _canonical URL: https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls

.. seealso::

:doc:`/guides/canonical-urls`
More information on how to enable canonical URLs in your project.

How Read the Docs generates canonical URLs
------------------------------------------

Expand Down
58 changes: 0 additions & 58 deletions docs/user/guides/canonical-urls.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/user/guides/content/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ How-to guides: content, themes and SEO
This article explains how documentation can be optimized to appear in search results,
ultimately increasing traffic to your docs.

⏩️ :doc:`Enabling canonical URLs </guides/canonical-urls>`
In this guide, we introduce relevant settings for enabling canonical URLs in popular documentation frameworks.

⏩️ :doc:`Using traffic analytics </analytics>`
In this guide, you can learn to use Read the Docs' built-in traffic analytics for your documentation project.
You will also learn how to optionally add your own Google Analytics account or completely disable Google Analytics on your project.
Expand Down Expand Up @@ -63,7 +60,6 @@ How-to guides: content, themes and SEO
Search engine optimization (SEO) for documentation projects </guides/technical-docs-seo-guide>
Using traffic analytics </analytics>
Using search analytics </guides/search-analytics>
Enabling canonical URLs </guides/canonical-urls>
Enabling offline formats </guides/enable-offline-formats>
Embedding content from your documentation </guides/embedding-content>
Managing translations for Sphinx projects </guides/manage-translations-sphinx>
Expand Down
2 changes: 1 addition & 1 deletion docs/user/reference/404-not-found.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ We have examples for some of the most popular tools below.

MkDocs automatically generates a ``404.html`` which Read the Docs will use.
However, assets will not be loaded correctly unless you define the `site_url`_ configuration value as your site's
:ref:`canonical base URL <guides/canonical-urls:MkDocs>`.
:doc:`canonical base URL </canonical-urls>`.

.. _sphinx-notfound-page: https://pypi.org/project/sphinx-notfound-page
.. _html_extra_path: https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_extra_path
Expand Down
Loading