Jump to content

Topic on Project:Support desk/Flow

185.5.60.134 (talkcontribs)

Hi,

I have a doubt about how to generate a sitemap.

I installed 3 wiki: the first in the root, the second and the third in the different folders depending on the language

1) http://www.mysite.com

2) http://www.mysite.com/en

3) http://www.mysite.com/es

How can I create a Sitemap that includes all three domains?

Until now I have used this command:

php maintenance / generateSitemap.php \

--fspath sitemap \

--server http://www.mysite.com \

--urlpath http://www.mysite.com/sitemap

But it seems that takes into consideration only the url of the wiki installed in the root

87.123.61.63 (talkcontribs)

I have not used this script myself, but I would expect the following behaviour:

It depends on the folder which you run the command in.

If you run it in the root, then it will create a sitemap for the wiki located in the root. If you run it from inside one of the subfolders, then it will create the sitemap for the according subfolder wiki.

185.5.60.134 (talkcontribs)

Thanks for the answer! So I have to necessarily create 3 different sitemap?

Ciencia Al Poder (talkcontribs)

Yes, each wiki generates its own sitemap