Peut-on gérer les redirections ? #665

Open
opened 2023-10-26 10:19:32 +00:00 by arnaudlevy · 2 comments

Dans Hugo / Netlify, la syntaxe est

redirects:
- from: /collectif/qui-sommes-nous/
  to: /lassociation/
  status: 301
  force: false
Dans Hugo / Netlify, la syntaxe est ``` redirects: - from: /collectif/qui-sommes-nous/ to: /lassociation/ status: 301 force: false ```
Owner

WIP: #548

See also #547

En attendant c'est possible de faire une redirection en mettant le HTML suivant dans un fichier:

<!doctype html>
<meta charset="utf-8">
<link rel="canonical" href="DESTINATION DE LA REDIRECTION">
<meta http-equiv="refresh" content="0; url=DESTINATION DE LA REDIRECTION">
<title>Redirect</title>
<p><a href="DESTINATION DE LA REDIRECTION">Click here</a> to be redirected.</p>
WIP: #548 See also #547 En attendant c'est possible de faire une redirection en mettant le HTML suivant dans un fichier: ```html <!doctype html> <meta charset="utf-8"> <link rel="canonical" href="DESTINATION DE LA REDIRECTION"> <meta http-equiv="refresh" content="0; url=DESTINATION DE LA REDIRECTION"> <title>Redirect</title> <p><a href="DESTINATION DE LA REDIRECTION">Click here</a> to be redirected.</p> ```
Author

Merci :)

Merci :)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#665
No description provided.