A
A
AlexWeb132020-02-12 11:03:37
Search Engine Optimization
AlexWeb13, 2020-02-12 11:03:37

How to properly place sitemap.xml so that it can be changed without changing access rights on the server?

Good day gentlemen!
Briefly about the essence: there is an index file index_sitemap.xml in which there will be a list of other sitemaps, in the admin panel I do their generation and creation in automatic mode, after which I update the index.
The problem is how to create/edit such files correctly without opening access to the server root folder and whether it is possible to place sitemaps not only in the root, but for example in a separate folder indicating their placement in the index, for example:
/index_sitemap.xml
/sitemaps /sitemap1.xml
/sitemaps/sitemap2.xml
/sitemaps/sitemap3.xml

I ask for help who faced similar, help advice. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lazy @BojackHorseman, 2020-02-12
Tag

is it possible to place sitemaps not only in the root, but for example in a separate folder

can
do the creation/editing of similar files correctly

update cron and that's it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question