Can I use a linked javascript file to insert the HTML code for site navigation at the bottom of pages to avoid re-coding on all the pages when something changes? If yes, how does this affect what spiders see?
NickMNS
5:29 pm on Mar 26, 2018 (gmt 0)
@nadnampel welcome to WW.
From your question it is not really clear what exactly your are doing.
Typically Google will crawl everything that is on the page at first page load. So if you add the HTML while the page is loading then Googlebot should crawl any links found. (Note: "typically" and "should", this is not certain) If however, you are adding the content after the page loads, then it is not likely that Googlebot will find or crawl the links. In this case if you rely on those links for page discovery it would be problematic and not recommended.