Is it possible to have the Main_Page to / (root) without having a special page? I use Mediawiki as my main site. So, there is no point in have two pages http://mysite.com and http://mysite.com/Main_Page having the same content. I just want / to be my main page and ditch having another page for this.
Cheers, Castor
Put in the header section of /index.html: <meta http-equiv="refresh" content="0; url=http://www.link.to.mainpage">
Ruud
Verstuurd vanaf mijn iPad
Op 19 jul. 2011 om 09:23 heeft Castor Troy castor_t@ymail.com het volgende geschreven:
Is it possible to have the Main_Page to / (root) without having a special page? I use Mediawiki as my main site. So, there is no point in have two pages http://mysite.com and http://mysite.com/Main_Page having the same content. I just want / to be my main page and ditch having another page for this.
Cheers, Castor _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
...this sounds like a bad recommendation completely ignorant of good sense, proper seo, good web practice, and what the poster's actual problem is.
MediaWiki redirects by default so I'm not sure about altering the system so that it would stay at /. If you did manage to make MW stay at / you'd likely only end up making it display / when you go to / and /Main_Page stay at /Main_Page, which would sorta void your purpose since you'll have people linking to / and built in links going to /Main_Page and depending on if canonical is implemented either a canonical that points to /Main_Page voiding your attempts at using / by making search engines point to /Main_Page as your default page, or no canonical leading to search engines potentially penalizing you for the fact that / and /Main_Page have dup content.
At the very least, there's no default way to do this.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
On 11-07-19 12:34 AM, Ruud Habets wrote:
Put in the header section of /index.html:
<meta http-equiv="refresh" content="0; url=http://www.link.to.mainpage">
Ruud
Verstuurd vanaf mijn iPad
Op 19 jul. 2011 om 09:23 heeft Castor Troy castor_t@ymail.com het volgende geschreven:
Is it possible to have the Main_Page to / (root) without having a special page? I use Mediawiki as my main site. So, there is no point in have two pages http://mysite.com and http://mysite.com/Main_Page having the same content. I just want / to be my main page and ditch having another page for this.
Cheers, Castor
Shouldn't the Short URL rewrite rules care for this? http://www.mediawiki.org/wiki/Manual:Short_URL
Short urls change /index.php?title=Foo and /index.php?title=Foo into /wiki/Foo or /Foo, they don't remove MediaWiki's built in / -> /Main_Page redirect.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
On 11-07-19 01:31 AM, nakohdo wrote:
Shouldn't the Short URL rewrite rules care for this? http://www.mediawiki.org/wiki/Manual:Short_URL
mediawiki-l@lists.wikimedia.org