Hi there! I was hoping to receive a fairly simple answer to the following: How do I change the title tag on the main page of my wiki? Thank you! Kristin
How do I change the title tag on the main page of my wiki?
This might not be what you're after, but you can remove/hide the title of the Main Page by adding the following code to either [[MediaWiki:Common.css]] or [[MediaWiki:Monobook.css]]:
h1.firstHeading { /* remove Main Page title */ display: none !important; }
Then you can add a level 1 heading with your custom title:
= Front Page =
You could also #REDIRECT to the page with the desired name (that's not an optimal solution though).
I believe it's also possible to change the default page from Main Page to whatever you like - search the list archives; it's been discussed before.
HTH.
-- F.
Hi Fredrik,
You can also make a new mainpage and direct mediawiki to find it. For instance:
1. Create a new mainpage at www.yoursite.org/New title page 2. Then edit the mediawiki namespace Mainpage ( www.yoursite.org/MediaWiki:Mainpage) to point to the new main page - New title page
See http://www.appropedia.org/MediaWiki:Mainpage for an example.
Good luck, Lonny
On 7/23/07, Frederik Dohr fdg001@gmx.net wrote:
How do I change the title tag on the main page of my wiki?
This might not be what you're after, but you can remove/hide the title of the Main Page by adding the following code to either [[MediaWiki:Common.css]] or [[MediaWiki:Monobook.css]]:
h1.firstHeading { /* remove Main Page title */ display: none !important; }
Then you can add a level 1 heading with your custom title:
= Front Page =
You could also #REDIRECT to the page with the desired name (that's not an optimal solution though).
I believe it's also possible to change the default page from Main Page to whatever you like - search the list archives; it's been discussed before.
HTH.
-- F.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thank you, Frederik, David, and Lonny, for answering my question about changing the main page title. I will review and try the suggestions. I had asked from an SEO perspective, as title tags are important elements in SEO. I wanted to create a main page that introduces my wiki- that has a descriptive title tag above. Kristin
----- Original Message ----- From: "Lonny" lonny@appropedia.org To: "MediaWiki announcements and site admin list" mediawiki-l@lists.wikimedia.org Sent: Monday, July 23, 2007 5:31 PM Subject: Re: [Mediawiki-l] change title tag on main page?
Hi Fredrik,
You can also make a new mainpage and direct mediawiki to find it. For instance:
- Create a new mainpage at www.yoursite.org/New title page
- Then edit the mediawiki namespace Mainpage (
www.yoursite.org/MediaWiki:Mainpage) to point to the new main page - New title page
See http://www.appropedia.org/MediaWiki:Mainpage for an example.
Good luck, Lonny
On 7/23/07, Frederik Dohr fdg001@gmx.net wrote:
How do I change the title tag on the main page of my wiki?
This might not be what you're after, but you can remove/hide the title of the Main Page by adding the following code to either [[MediaWiki:Common.css]] or [[MediaWiki:Monobook.css]]:
h1.firstHeading { /* remove Main Page title */ display: none !important; }
Then you can add a level 1 heading with your custom title:
= Front Page =
You could also #REDIRECT to the page with the desired name (that's not an optimal solution though).
I believe it's also possible to change the default page from Main Page to whatever you like - search the list archives; it's been discussed before.
HTH.
-- F.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I am sure it will be noted if I am wrong <G> but I believe there is no 'easy' way to change the name of the 'Main Page'.
It appears to be hard coded in may locations of the code.
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Kristin Sent: Monday, July 23, 2007 14:15 To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] change title tag on main page?
Hi there! I was hoping to receive a fairly simple answer to the following: How do I change the title tag on the main page of my wiki?
mediawiki-l@lists.wikimedia.org