Answer the question
In order to leave comments, you need to log in
How to properly upload the sitemap.xml file to a node.js project?
Good afternoon, I uploaded the sitemap.xml file to the root folder of the project on node.js.
Google webmaster gives an error that this file is not processed, I don’t understand why
the project is located in /var/www/proekt/
Google suggests entering the url to the sitemap
https://domen / I entered the URL of the Sitemap file
and just sitemap.xml and /var/www/proekt/sitemap.xml - nothing helped
The second input option I used because pm2 refers to the home directory of /home/user files and in js files I have when render, the full path to the file is always indicated.
But Google did not accept either such an option or such, how to be help please?
Answer the question
In order to leave comments, you need to log in
nodejs middleware. There you specify where to give statics. Spm node runs on a port and only processes what it listens on
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question