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?
1 Answer
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.
-
Do you know how to use Manual:generateSitemap.php? I want to use native sitemap generator of MediaWiki. Commented Oct 30, 2012 at 9:18
-
Have you read what's on this page? mediawiki.org/wiki/Manual%3aGenerateSitemap.php Commented Oct 30, 2012 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. Commented Oct 30, 2012 at 12:54
-
1So 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. Commented Oct 30, 2012 at 15:53
-
I just did: webmasters.stackexchange.com/questions/36287/… Commented Oct 30, 2012 at 16:21