Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm using mediawiki for my site. I'm trying several ways to generate sitemap but it doesn't work. Anyone knows how to generate sitemap for MediaWiki and alert to Google automatically?

share|improve this question

1 Answer 1

Note: Since MediaWiki 1.6, the MediaWiki core has a Google site map generator... It is a command-line utility, and it is located at maintenance/generateSitemap.php in your MediaWiki directory. The command line is "php generateSitemap.php sitename" and is run from the maintenance directory at the server's command line interface. See Manual:generateSitemap.php for more information.

From http://www.mediawiki.org/wiki/Extension:ManualSitemap.

share|improve this answer
    
Do you know how to use Manual:generateSitemap.php? I want to use native sitemap generator of MediaWiki. –  Tran Cuong Oct 30 '12 at 9:18
    
Have you read what's on this page? mediawiki.org/wiki/Manual%3aGenerateSitemap.php –  paulmorriss Oct 30 '12 at 9:25
    
Of course, I did read. But the maintenance scripts must be run from the command line but I'm using a shared host. –  Tran Cuong Oct 30 '12 at 12:54
    
So your next question is "how do I run something from the command line when I'm using a shared host?". If you don't ask it then I will. –  paulmorriss Oct 30 '12 at 15:53
    
I just did: webmasters.stackexchange.com/questions/36287/… –  paulmorriss Oct 30 '12 at 16:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.