# CommonTK website broken when going to URLs with www prefix

**URL:** <https://discourse.slicer.org/t/commontk-website-broken-when-going-to-urls-with-www-prefix/11422>\
**Category:** Support\
**Created:** [May 5, 2020, 6:53pm UTC](https://discourse.slicer.org/t/commontk-website-broken-when-going-to-urls-with-www-prefix/11422 "2020-05-05T18:53:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [May 5, 2020, 6:53pm UTC](https://discourse.slicer.org/t/commontk-website-broken-when-going-to-urls-with-www-prefix/11422/1 "2020-05-05T18:53:46Z")

</div>

Posting this here because Slicer uses CTK and generally maintained by the same people:

[http://www.commontk.org/](http://www.commontk.org/) doesn’t work as a link, though the site is accessible through [http://commontk.org/](http://commontk.org/). The www hyperlink version is posted at [https://github.com/commontk/CTK](https://github.com/commontk/CTK).

From [http://commontk.org/](http://commontk.org/) there is a link to the API documentation which is [http://www.commontk.org/docs/html/classes.html](http://www.commontk.org/docs/html/classes.html), but that doesn’t work however the non-www hyperlink works such as [http://commontk.org/docs/html/classes.html](http://commontk.org/docs/html/classes.html).

There must be something wrong with the redirect of www links to the non-www link for this domain. There’s a bunch of links on commontk’s website that have the broken www version.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [May 5, 2020, 7:22pm UTC](https://discourse.slicer.org/t/commontk-website-broken-when-going-to-urls-with-www-prefix/11422/2 "2020-05-05T19:22:17Z")

</div>

Thanks for the heads up 👍

I don’t own the [commontk.org](http://commontk.org) domain, and I don’t remember for sure who does. Maybe Kitware? (@jcfr do you know?) However I went ahead and fixed the repository homepage link and also the CTK code so most things won’t break. Would be good to fix the redirect to fix any lingering links.

> <https://github.com/commontk/CTK/commit/96d40511f46e12ff78e590ab24ac2d89668e4abe>

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [May 5, 2020, 7:44pm UTC](https://discourse.slicer.org/t/commontk-website-broken-when-going-to-urls-with-www-prefix/11422/3 "2020-05-05T19:44:11Z")

</div>

I just asked our sysadmin to enable https and also add redirect for www domain.

I will update this thread when I hear back.

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [May 12, 2020, 4:28am UTC](https://discourse.slicer.org/t/commontk-website-broken-when-going-to-urls-with-www-prefix/11422/4 "2020-05-12T04:28:58Z")

</div>

> [@jcfr](#):
>
> I will update this thread when I hear back.

This has been addressed.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/3/1327b58a8699ad95d11041490caa2fd79ed7f737.png)
