Where to insert sitemaps in WordPress multisite without plugins
-
Dear WordPress community,
this is the first time I write, in fact I am very excited, and I even notice that my fingers are shaking … hey no! one moment! but here everything is shaking … OHHHH NOOOOO, it’s an earthquake !!!!!!!!
OK, now that I’m safe again I can continue writing my message …
First of all, congratulations on all your work. If WordPress is the # 1 CMS in the world today, it is thanks to you.
Secondly, I contact you to ask for information.
I have installed WordPress multisite.
I did it to create the first site in English, and the second the same as the first but in another language.
Currently the structure of my sites is as follows:
https://www.mysite.com
https://www.mysite.com/subsite1/.Now, both of these sites, from the most recent versions of WordPress, have a sitemap set by default. In fact, if I go to https://www.mysite.com/wp-sitemap.xml or to https://www.mysite.com/subsite1/wp-sitemap.xml the sitemaps exist.
The problem is that these sitemaps don’t link to each other, as they should. Therefore, I would like to disable the default ones and create 2 custom sitemaps.The problem is that, if on the one hand I know where to insert the sitemap for the first site (ie in the root folder of WordPress [in fact, if I do, the sitemap wp-sitemap.xml is overwritten]), I don’t know where to insert the sitemap for the second site. And I would like to know, in order to insert the sitemap of the first site in the root folder of WordPress, and that of the second site in the folder (if there is one) dedicated to the second site. But I would like to do all this without the use of plugins.
Could anyone please help me?
Thank you for your attention
Thank you in advance for any response you want to give me, but in case you fail to do so, I still wish you the best of the best.
A dear occasional to all
Thank you all
- The topic ‘Where to insert sitemaps in WordPress multisite without plugins’ is closed to new replies.