1.17 was EOL a long time ago. There's no proper way to make an ancient
version of a piece of software that was made for a newer version of the
software.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
Thanks Daniel for your prompt response!
Currently, I am using Mediawiki version 1.17.
I tried to add $wgEnableCanonicalServerLink
<https://www.mediawiki.org/wiki/Manual:$wgEnableCanonicalServerLink> =
true; to LocalSettings.php.
When I add <link rel="canonical"> on Main Page, the code will visible.
I tried CanonURL extension, but it requires Mediawiki version 1.20.
Is there proper way to accept rel=canonical on version 1.17 of Mediawiki?
Thanks.
James
On Thu, Aug 27, 2015 at 10:11 AM, Daniel Friesen
<daniel(a)nadir-seen-fire.com <mailto:daniel@nadir-seen-fire.com>> wrote:
On 2015-08-26 7:05 PM, James wrote:
When I access
wiki.old-domain.net
<http://wiki.old-domain.net>
or .org, it will redirect me to
http://wiki.domain.co/Main_Page.
Now, I want to eliminate "/Main_Page" and make it single URL
http://wiki.domain.co only.
MediaWiki does not support this.
The reason behind all of this is due to errors
getting when
changing of
address on Google search console which G wants to
make it
wiki.domain.co <http://wiki.domain.co>
only and not having /Main_Page.
Any advise and help would be much appreciated.
MediaWiki should be setting
rel=canonical for the main page, so there
should be no indexing issues with systems that want to strip the
/Main_Page from the url, both will end up indexing/providing
pagerank to
the same url.
~Daniel Friesen (Dantman, Nadir-Seen-Fire)
[
http://danielfriesen.name/]