Ninja Space Content Tech Blog

Adding a Sitemap to Godaddy Shared Hosting

Posted by Ninja Space Content on Saturday, May 22, 2021 Under: react
On May 9th, 2021, I added a sitemap.txt file to one of my React apps so that it can get properly indexed in the search engine and I can start seeing stats on Google's search console. I am current hosting this app on Godaddy's shared hosting. 

Today, a couple of weeks later, I noticed that I am not showing hits on certain pages; just on the homepage. So, I went on my app and utilized real time tracking and I realized Google Analytics doesn't pick it up even in real-time. I figured this may have something to do with my sitemap submission.

To submit a sitemap to Godaddy shared hosting, I just went into the cPanel, went to the public_html and added my sitemap.txt file with a list of the pages I want to index, line by line.

Now, since not all of the pages are being indexed properly, I went into my search console and noticed that it excluded these subpages for some unknown reason. Amazingly, Google Search Console has a URL inspection tool where I can go into each of the links they excluded and request that Google indexes them by clicking on "REQUEST INDEXING" link. Within a couple of minutes, I'm able to see the other pages show up when I am on them via Google Analytics so it was a very easy process! Just watch out for your indexing quota.

In : react 


Tags: google search console  seo  search engine indexing  react app  sitemap adding to godaddy shared hosting 

About Ninja Space Content


Ninja Space Content I have been building simple websites on my own since 2008 and currently run several websites at the moment, including this one. I used to be an account manager for an affiliate/e-commerce company, helping affiliates grow their sales so I have some knowledge on the business side and client side of affiliate marketing. Most recently, I decided to complete a JavaScript coding bootcamp and graduated in Dec 2020.
Note: links to resources and promoting special deals may allow me to earn a small commission from each sale.