I
I
IvanovIvanIvanych2020-10-22 13:54:51
Search Engine Optimization
IvanovIvanIvanych, 2020-10-22 13:54:51

Which sitemap will eventually be used by search engines in Wordpress in my case?

I installed the Google XML Sitemap Generator plugin to generate a sitemap, in its settings I followed the working link mysite/xmlsitemap.xml, which loads the map in the browser, but the file with the map itself does not exist on the hosting.
Question: 1) Will the robots see this map if I specify it in the file robots.txt Sitemap: mysite/xmlsitemap.xml or do the robots need the map file to exist with the name sitemap.xml?

Together with the previous plugin, Yoast SEO is installed and it also generates its own map at mysite/sitemap_index.xml
Question: 2) As a result, the maps will not interfere with each other and the robots will not get confused in them, because the only thing that matters is which address is specified in the robots .txt and it can be absolutely anything?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Velichko, 2020-10-22
@IvanovIvanIvanych

Question: 1) Will the robots see this map if I specify it in the file robots.txt Sitemap: mysite/xmlsitemap.xml or do the robots need the map file to exist with the name sitemap.xml?

The file is not required.
If you follow the link and a page opens in the browser, which displays the site URL in the sitemap from the Google XML Sitemap Generator plugin, everything is fine.
Specify the sitemap from the Google XML Sitemap Generator plugin in:
  1. robots.txt file
  2. Yandex Webmaster and Google consoles

And delete the link to the sitemap from Yoast SEO from the above places (you can’t delete it in the Google console - you can only add a new one).
Question: 2) As a result, the cards will not interfere with each other and the robots will not get confused in them, because the main thing is only what address is indicated in robots.txt and it can be absolutely anything?

In order not to interfere with each other (do not duplicate) - disable the sitemap from the Yoast SEO plugin (see screenshot)
5f91715b29af7808531018.jpeg
: from the Google XML Sitemap Generator plugin!

D
Danny Arty, 2020-10-22
@DanArst

Having two or more sitemaps is normal, as long as they are not the same.
Just include both maps in robots.txt.
If they are the same, then just close one of them from indexing (or disable the plugin that generates it), and specify the second one in robots.txt and add it to Yandex.Webmaster and Google Search Console

V
Vladimir Druzhaev, 2020-10-22
@OtshelnikFm

go to the search engine and enter your card there. And see if they see. See help for your favorite search engine. Ask them these questions in support. Not here
. And what for do you have a bunch of plugins that do the same thing? About the reserve - because it's free?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question