The question is, Can googlebot do basic javascript?
If not, then no. When you read, your application requires JS support to display any page. This leaves you without a bot-friendly access method.
If yes, then yes:
Because JavaScript can access url parameters through location.search , you can create plausible URLs for Google to get href attributes that are interpreted by your JS application and redefined for users in onclick attributes.
<a href="/?a=My-Blog-Post" onclick="someFunc(this.href);return false;">
This will be coupled with the code in your onload application to search for location.search and get which .md can appear in the specified url parameter (after parsing the query string) in the hope that Google will launch the specified onload to get the specified content. This is an option for developing the style of domain.com/#!ajax/path sites. Both options are fully client-side, but the query string option will indicate to googlebot that the page should be selected as a separate URL.
You can test this with http://google.com/webmasters , which has a "fetch like googlebot" feature.
source share