Page MenuHomePhabricator

http://wikiversity.org not redirecting to http://www.wikiversity.org
Closed, ResolvedPublic

Description

Splitting this off from T88774, it looks like http://wikiversity.org is outputting page content and a 200 OK, when it should just be a redirect to http://www.wikiversity.org, as far as I know.

Almost all other wiki domains redirect from (for example) http://wiktionary.org to http://www.wiktionary.org:

$ curl -Is "http://wikiversity.org" | head -1
HTTP/1.1 200 OK

$ curl -Is "http://wiktionary.org" | head -1
HTTP/1.1 301 Moved Permanently

$ curl -Is "http://wikipedia.org" | head -1
HTTP/1.1 301 Moved Permanently

$ curl -Is "http://wikibooks.org" | head -1
HTTP/1.1 301 Moved Permanently

I believe wikisource.org is the only intentional exception to this rule (due to weird historical reasons), but http://wikiversity.org should be redirecting to http://www.wikiversity.org.

Event Timeline

MZMcBride raised the priority of this task from to Needs Triage.
MZMcBride updated the task description. (Show Details)
MZMcBride added a project: DNS.
MZMcBride subscribed.
Krinkle edited projects, added Wikimedia-Apache-configuration; removed DNS.
Krinkle set Security to None.

I noticed this while I was doing https://gerrit.wikimedia.org/r/#/c/185461/ and planned to file a task (but forgot about it later).

gerritbot subscribed.

Change 189195 had a related patch set uploaded (by John F. Lewis):
apache: remove wikiversity.org from portal alias

https://gerrit.wikimedia.org/r/189195

Patch-For-Review

Change 189195 merged by Alexandros Kosiaris:
apache: remove wikiversity.org from portal alias

https://gerrit.wikimedia.org/r/189195

$ curl -Is "http://wikiversity.org" | grep Location
Location: http://www.wikiversity.org/

Looks good to me, thanks!