# Broken link for uploaded file on Slicer wiki

**URL:** <https://discourse.slicer.org/t/broken-link-for-uploaded-file-on-slicer-wiki/9237>\
**Category:** Support\
**Tags:** web-infrastructure, wiki\
**Created:** [November 20, 2019, 8:44pm UTC](https://discourse.slicer.org/t/broken-link-for-uploaded-file-on-slicer-wiki/9237 "2019-11-20T20:44:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [November 20, 2019, 8:44pm UTC](https://discourse.slicer.org/t/broken-link-for-uploaded-file-on-slicer-wiki/9237/1 "2019-11-20T20:44:36Z")

</div>

Today I discovered that a PDF linked from a documentation wiki page disappeared (wiki page: [https://www.slicer.org/wiki/Documentation/Nightly/Modules/MultiVolumeExplorer](https://www.slicer.org/wiki/Documentation/Nightly/Modules/MultiVolumeExplorer), broken link: [https://www.slicer.org/slicerWiki/images/8/8d/MultiVolumeExplorer\_Meysam\_SNR-April2013-v4.pdf](https://www.slicer.org/slicerWiki/images/8/8d/MultiVolumeExplorer_Meysam_SNR-April2013-v4.pdf)).

@freephile can you help with this issue?

I was instructed by @mhalle to post this issue on the forum.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [November 21, 2019, 4:27pm UTC](https://discourse.slicer.org/t/broken-link-for-uploaded-file-on-slicer-wiki/9237/2 "2019-11-21T16:27:58Z")

</div>

@freephile can you confirm you have seen this post? Do you think it is possible to recover the file missing?

---

<div class="post-metadata">

**Author:** ![freephile](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/freephile/32/248_2.png) [@freephile](https://discourse.slicer.org/u/freephile)\
**Post date:** [November 21, 2019, 5:20pm UTC](https://discourse.slicer.org/t/broken-link-for-uploaded-file-on-slicer-wiki/9237/3 "2019-11-21T17:20:54Z")

</div>

@fedorov

The file itself is at

> **[MultiVolumeExplorer\_Meysam\_SNR-April2013-v4.pdf](https://www.slicer.org/w/img_auth.php/8/8d/MultiVolumeExplorer_Meysam_SNR-April2013-v4.pdf)**
>
> 1984.43 KB

The wiki page for the file is

> **[File:MultiVolumeExplorer\_Meysam\_SNR-April2013-v4.pdf](https://www.slicer.org/wiki/File:MultiVolumeExplorer_Meysam_SNR-April2013-v4.pdf)**

The problem is simply that the very **old** ‘slicerWiki’ path is used in the wiki content you cited.

Using the [‘Replace Text’ extension](https://www.slicer.org/wiki/Special:ReplaceText) (a new admin feature of the Slicer wiki), I’m fixing hundreds of pages of content. This will fix the problem ‘on wiki’. For ‘off wiki’ content (e.g. bookmarks, publications), I’m currently working on implementing the rewrite rule which will a) serve the file at the correct location while b) sending a ‘moved permanently’ status code so old URLs are not indexed by search engines.

Aside: please post wiki issues to the eQuality Technology [Customer Support forum](https://discourse.equality-tech.com).

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [November 21, 2019, 5:33pm UTC](https://discourse.slicer.org/t/broken-link-for-uploaded-file-on-slicer-wiki/9237/4 "2019-11-21T17:33:45Z")

</div>

Greg, thank you for recovering the file!

> [@freephile](#):
>
> please post wiki issues to the eQuality Technology [Customer Support forum](https://discourse.equality-tech.com)

Indeed. I misunderstood instructions from @mhalle. Sorry.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [November 21, 2019, 5:49pm UTC](https://discourse.slicer.org/t/broken-link-for-uploaded-file-on-slicer-wiki/9237/5 "2019-11-21T17:49:43Z")

</div>

Greg, to make sure I understand correctly - it is not possible to make sure that the original link ([https://www.slicer.org/slicerWiki/images/8/8d/MultiVolumeExplorer\_Meysam\_SNR-April2013-v4.pdf](https://www.slicer.org/slicerWiki/images/8/8d/MultiVolumeExplorer_Meysam_SNR-April2013-v4.pdf)) is functional, correct?

The issue is that this link is referenced from external sources, such as this post: [How to analyze DCE-MRI data](https://discourse.slicer.org/t/how-to-analyze-dce-mri-data/622). I can fix the link in that post manually, but there may be other places I am not aware of. Overall, it is rather important that the original links don’t die. Is redirecting an option?

---

<div class="post-metadata">

**Author:** ![freephile](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/freephile/32/248_2.png) [@freephile](https://discourse.slicer.org/u/freephile)\
**Post date:** [November 22, 2019, 3:23pm UTC](https://discourse.slicer.org/t/broken-link-for-uploaded-file-on-slicer-wiki/9237/6 "2019-11-22T15:23:45Z")

</div>

I’m working on the redirect rules now.

All “old” URLs will work – without appearing to search engines as if duplicate content is being served. The correct URLs will become canonical, improving SEO.

---

<div class="post-metadata">

**Author:** ![freephile](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/freephile/32/248_2.png) [@freephile](https://discourse.slicer.org/u/freephile)\
**Post date:** [November 26, 2019, 3:03pm UTC](https://discourse.slicer.org/t/broken-link-for-uploaded-file-on-slicer-wiki/9237/7 "2019-11-26T15:03:57Z")

</div>

This has been fixed, tested, and moved into production.  
[https://discourse.equality-tech.com/t/add-rewrite-rules-to-nginx-to-replace-apache-rules/991/3](https://discourse.equality-tech.com/t/add-rewrite-rules-to-nginx-to-replace-apache-rules/991/3)
