title: How to implement a sitemap.xml in index.php, to generate a link with /mysitemap?
body: <p>I have a folder on my desktop which I suppose is my root folder, where I have a file home.html and an index.php file, with which, with the help of git bash, I have implemented a web page which is working and is hosted in heroku <a href="https://alexandrawp.herokuapp.com/" rel="nofollow noreferrer">https://alexandrawp.herokuapp.com/</a>. I'm sure my sitemap.xml file has to be placed in the folder of my desktop along with the other two files, my question is what code should I write in my index.php file to get an address like this <a href="https://alexandrawp.herokuapp.com/sitemap.xml" rel="nofollow noreferrer">https://alexandrawp.herokuapp.com/sitemap.xml</a> ?, and be able to view my sitemap.xml and be recognized by google search console
   This is my page: <a href="https://alexandrawp.herokuapp.com/" rel="nofollow noreferrer">https://alexandrawp.herokuapp.com/</a>, and it should be like this   <a href="https://alexandrawp.herokuapp.com/mysitemap" rel="nofollow noreferrer">https://alexandrawp.herokuapp.com/mysitemap</a></p>