website icon indicating copy to clipboard operation
website copied to clipboard

Broken links on the website

Open nathanncohen opened this issue 10 years ago • 9 comments

I ran an URL checker on the website (https://github.com/sagemath/website/pull/57), and there are several broken links that I do not know how to fix. Here they are: http://www.steinertriples.fr/ncohen/tmp/linkchecker-out.html

When those will be fixed, I will ran the checker again, this time checking external links.

Nathann

nathanncohen avatar Jun 13 '15 09:06 nathanncohen

@nathanncohen is this issue solved? If not I'll like to resolve this. would need some help too.

SilentFlame avatar Dec 30 '15 06:12 SilentFlame

There are seven items in @nathanncohen's list. I'll give details about them separately.

slel avatar Dec 30 '15 08:12 slel

Item 1. On the page

http://www.sagemath.org/library-marketing.html

line 191 contains

<div class="narrow txt">More marketing resources are available <a href="./files/marketing/">here</a>.

This link points to

http://www.sagemath.org/files/marketing/

which is "404 Not Found".

The internet archive has a copy of the old page, see:

https://web.archive.org/web/*/http://www.sagemath.org/files/marketing/

There, the last snapshot shows a "404 Not Found" but the last-but-one snapshot is still good:

https://web.archive.org/web/20150317144653/http://sagemath.org/files/marketing/

and contains a list of files in a directory.

Can we locate where that went, and update the link?

One possibility is that the files are still there but the change of website engine means that directory urls now display as "404 Not Found" instead of displaying the directory listing.

In that case, we would want to create an index.html file with the links to the items in the directory.

slel avatar Dec 30 '15 08:12 slel

Item 2. On the page

http://www.sagemath.org/library-marketing.html

line 268 contains

<a href="./res/sage-sticker-1x1_inch.zip"><img src="./pix/sage-sticker-1x1_inch-small.png"/></a>

in which the link points to

http://www.sagemath.org/res/sage-sticker-1x1_inch.zip

which is "404 Not Found".

Can we locate that file? If so, update the link. If not, replace the link by a link to the png.

<a href="./pix/sage-sticker-1x1_inch.png"><img src="./pix/sage-sticker-1x1_inch-small.png"/></a>

slel avatar Dec 30 '15 08:12 slel

Item 3. On the page

http://www.sagemath.org/library-press.html

line 297 reads

<td>&gt; 300 <a href="http://sagemath.org/src-old/">Releases</a></td>

in which the link points to

http://sagemath.org/src-old/

which is now redirected to

http://old.files.sagemath.org/src-old/

Although this works, it would be better to update the link, changing line 297 to

<td>&gt; 300 <a href="http://old.files.sagemath.org/src-old/">releases</a></td>

slel avatar Dec 30 '15 08:12 slel

Item 4. On the page

http://www.sagemath.org/mirrors.html

line 226 reads

  Check status of <a href="./mirror_manager.txt">Mirror Management</a> script.

where the link points to

http://www.sagemath.org/mirror_manager.txt

which is "404 Not Found".

Searching for mirror_manager.txt on the github repo for the sagemath website:

https://github.com/sagemath/website/search?q=mirror_manager.txt

gives a few results, but most of the time the string "mirror_manager.txt" appears in commented-out lines. Maybe @haraldschilly can comment.

slel avatar Dec 30 '15 09:12 slel

Item 5. On the page

http://www.sagemath.org/development.html

line 228 reads

    <li><a href="./changelogs/">Release Notes</a></li>

in which the link points to

http://www.sagemath.org/changelogs/

which is "404 Not Found", but this is #67.

slel avatar Dec 30 '15 09:12 slel

@slel for Item1: As it seems to me yes we have to create a new index.html for this. as the files are still present there only, but are not getting listed/displayed.

SilentFlame avatar Dec 30 '15 09:12 SilentFlame

currently I'm taking care of Item1: listing all the files in the marketing directory via making a new index.html

Item2 and Item3: replacing the link as I didn't find anything related to Item2 in any other directories.

Item4: needs some more details, as I found that there is a mirror_manager.html file but no mirror_manager.txt file anywhere I guess. So, need some guidance as to what to do with that.

Item5: Already resolved as Issue #67 is resolved.

Coming with a PR upto this only. for rest of the Items I'll make them in my next PR.

SilentFlame avatar Dec 30 '15 20:12 SilentFlame