bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43000: [Web pages] Proposed changes to tour/index.html


From: Stefan Kangas
Subject: bug#43000: [Web pages] Proposed changes to tour/index.html
Date: Sun, 6 Sep 2020 20:13:01 -0700

Therese Godefroy <thg@gnu.org> writes:

> I don't think this has to do with recent changes. It has to do with URL
> rewriting by an Apache module.
>
> The URLs in your navigation links are relative to the current directory,
> which happens to be on Savannah:
>       <a href="emacs.html">Home</a>
>       <a href="download.html">Download</a>
>
> If you want them to be rewritten to the software directory, you need to
> make the URLs relative to server root:
>       <a href="/software/emacs/emacs.html">Home</a>
>       <a href="/software/emacs/download.html">Download</a>
>
> As a bonus, you will be able to move files from one directory to another
> without breaking the links. For instance, the navlinks will be the same
> in emacs.html and tour/index.html.

Making the links absolute has the unfortunate side-effect that it
becomes harder to test the site locally during development, right?
I'd hope that there is some way to avoid that.

I see that there is a 302 (temporary) redirect here:

$ curl https://www.gnu.org/software/emacs/index.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a
href="https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html";>here</a>.</p>
<hr>
<address>Apache/2.4.7 Server at www.gnu.org Port 443</address>
</body></html>

Do you know if this is expected?

Best regards,
Stefan Kangas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]