This is a very serious area and many factors come it. SEO is very wide to be honest.You can however do these basic things:1. Create a robots.txt like https://africoders.com/robots.txt2. Create a sitemap.xml like this https://africoders.com/sitemap.xml3. Go and submit your sitemap here www.google.com/webmasters/There are many ways of generating your sitemap. Did you use raw php, or you used a framework or cms?
And yes, I have heard reports about this edit button, I am working on a solution for it, sorry for the inconvenience.
i used raw php not framework / cms
You can build a manual site-map, or even use php to generate the sitemap.