💾 Archived View for chirale.org › 2007-10-18_7414943f94ece7c1964e3c2a9243d464.gmi captured on 2024-07-08 at 22:58:21. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-12)
-=-=-=-=-=-=-
Scope: Move an old document to a new URL with HTTP 301 Permanent Redirect.
Module used (required if you don’t want to modify an existing page): URL aliases.
Create a new page (or edit an old one). Select “PHP code” in input type. Fill the url alias box, with the old document path Insert the following code: \<?php
// Permanent redirection
header(“HTTP/1 301 Moved Permanently”);
header(“Location: http://www.yoursite.tld/location”);
exit();
?\> Save.
http://www.yoursite.tld/location”
Note: Obviously you can’t see the page (you’ll be redirected to specified address), but you can edit or delete the page from admin/content/node. As admin, if you try to unpublish the page you’ll be redirected anyway: you have to delete the page to fix it.
https://web.archive.org/web/20071018000000*/http://tools.ietf.org/html/rfc2616#section-10.3.2
https://web.archive.org/web/20071018000000*/http://www.yoursite.tld/location&#8221
https://web.archive.org/web/20071018000000*/http://www.somacon.com/p145.php
https://web.archive.org/web/20071018000000*/http://www.somacon.com/p145.php</a></p>