Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Fix redirects#247

Open
carkod wants to merge 1 commit intomainfrom
fix-redirects
Open

Fix redirects#247
carkod wants to merge 1 commit intomainfrom
fix-redirects

Conversation

@carkod
Copy link
Copy Markdown
Contributor

@carkod carkod commented Jun 13, 2024

@webteam-app
Copy link
Copy Markdown
Collaborator

Comment thread redirects.yaml Outdated
/doc?: https://canonical-mir.readthedocs-hosted.com/stable/
/doc/index.html?: https://canonical-mir.readthedocs-hosted.com/stable/
/doc/cppguide?: https://canonical-mir.readthedocs-hosted.com/stable/_static/cppguide/
/doc/cppguide/?: https://canonical-mir.readthedocs-hosted.com/stable/_static/cppguide/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't the right change, we still need anyone landing at /doc/cppguide to redirect, regardless of trailing slash… and anyway it doesn't work…

@carkod
Copy link
Copy Markdown
Contributor Author

carkod commented Jun 17, 2024

@Saviq should be working now. Are you able to approve?

@Saviq
Copy link
Copy Markdown
Contributor

Saviq commented Jun 17, 2024

@carkod now the no-index.html variant doesn't work…

https://mir-server-io-247.demos.haus/doc/cppguide

Copy link
Copy Markdown
Contributor

@Saviq Saviq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shame this can't be handled by a single line, but OK!

@carkod
Copy link
Copy Markdown
Contributor Author

carkod commented Jun 17, 2024

Shame this can't be handled by a single line, but OK!

Yes, I think I could try to handle it in a single line with wildcards, but I think it's better to be as explicit as possible, we've had obscure issues on u.com when using wildcards.

This way we can also track of changes, which will make it eaier if want to change things in the future or revert it back.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants