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: Therese Godefroy
Subject: bug#43000: [Web pages] Proposed changes to tour/index.html
Date: Sun, 6 Sep 2020 17:48:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

Le 06/09/2020 à 05:47, Stefan Kangas a écrit :
[...]
> I'm seeing some oddities when navigating using the top row menu now:
> 
> 1. I go to https://www.gnu.org/software/emacs/
> 2. I click Download in the top row menu
> 3. I click Home
> 
> I now end up at: https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html
> 
> I would expect to end up back at https://www.gnu.org/software/emacs/
> 
> Could this be related to your recent changes?
> 
> Best regards,
> Stefan Kangas
> 

Hello Stefan,

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.

All the best,
Thérèse





reply via email to

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