Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 10, 2025

External documentation (e.g., Home Assistant) links to /influxdb/v2/introduction/getting-started/#creating-a-database, which 404s because the anchor doesn't exist on the redirected page. Hugo already aliases the base URL to /influxdb/v2/get-started/, but the #creating-a-database fragment has no target.

Changes

Added <span id="creating-a-database"></span> anchors to:

  • get-started/_index.md: Inline with Bucket definition (InfluxDB v2 equivalent of "database")
  • get-started/setup.md: Next to "Create a bucket" section

Result

Old URLs now scroll to the correct content:

Working redirect


Original prompt

This section details on the original issue you should resolve

<issue_title>Page not found</issue_title>
<issue_description>from https://www.home-assistant.io/integrations/influxdb/
Configuration
For instructions on how to create a database check the InfluxDB documentation relevant to the version you have installed.

link : https://docs.influxdata.com/influxdb/v2/introduction/getting_started/#creating-a-database

404
Whoops! Looks like this page doesn't exist. If a link brought you here, let us know. We'd like to fix it.</issue_description>

<agent_instructions>Add an alias for the 404 URL</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add alias for 404 page URL Add backward-compatible anchor for /influxdb/v2/introduction/getting-started/#creating-a-database Dec 10, 2025
Copilot AI requested a review from jstirnaman December 10, 2025 22:57
@jstirnaman
Copy link
Contributor

homeassistant PR pending: home-assistant/home-assistant.io#42591
I'm closing this PR.

@jstirnaman jstirnaman closed this Dec 16, 2025
@jstirnaman jstirnaman deleted the copilot/add-404-page-alias branch December 16, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Page not found

2 participants