javascript - Make Mithril application SEO friendly -


me , friend have created website want use en experiment school purpose.

https://www.daniellindgren.se/

but encountering problem when want google bots crawl subpages, cv , contact. when use google webmaster tool how indexing google goes, says can't crawl else startpage. have built sitemap , have declared in robots.txt. read somewhere mithril can cause problem google bots because links subpages starts "?". there workaround can use or other solution there? should maybe try re-make single-page application instead?

i don't see "?" in links on site, , in general google should able index spa:s nowadays.

but it's not working, option use mithril render templates server-side well. depending on backend may take little bit of work. if you're using node.js it's easy mithril-node-render, if not recommend haxe , mithril-hx cross-platform support.

then need change routing strategy request outside application hits server well. unless think beginning, need rewrite quite bit of backend make more isomorphic.

but site doesn't have client-side functionality however, right now, i'd treat site non-spa, , use mithril when want dynamic, ajax-driven functionality.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -