Canonical Hostname and Printable versions (moved from wiki)
Posted: Thu May 24, 2007 5:20 pm
Discussion moved from wiki:
I'll do the rewrite soon About the printable version... it needs to be a code hack right (i.e. there is no setting in LocalSettings.php that can fix this)? I can't seem to find such a function in any case, so I'm assuming I have to code hack.
Code: Select all
A very minor issue, but if I'm not mistaken it should also be easy to change: I think it would be better to redirect (301) imslp.org to www.imslp.org. Currently each page appears under two separate URLs, one with and one without 'www'. --[[User:Leonard Vertighel|Leonard Vertighel]] 12:16, 23 May 2007 (EDT)
:Hmm... I'll put that on my todo list and check the Apache docs. Should be easy to do :) --[[User:Feldmahler|Feldmahler]] 17:50, 23 May 2007 (EDT)
::[http://httpd.apache.org/docs/1.3/misc/rewriteguide.html This could be a solution] (section "Canonical Hostnames"). By the way, it would also be very good to either disable the "Printable version" entirely (since it seems pretty useless on IMSLP, and moreover a printable version is generated automatically whenever you print a page), or at least add <code><meta name="robots" content="noindex,nofollow" /></code> in the head part of the HTML code, so that they are no longer indexed by Google. I have come across those pages on Google several times, and they are ''very'' bad entry points to IMSLP (no navigation available). --[[User:Leonard Vertighel|Leonard Vertighel]] 04:17, 24 May 2007 (EDT)