Hi Mark

Seems to me that there is something in common with Single Page Application 
(SPA) design. Often you see that a static HTML copy (snapshot) of the site is 
made for SEO purposes. This as search bots generally did not execute JavaScript 
so did not 'see' the dynamic page.

Often the pages in the app get a fragment identifier so they can be bookmarked.

As the bot sees the static page, which link should be shown in search results? 
Presumably you want the (human) user to be taken to the SPA page, not the 
static HTML.

I've seen this done with server side redirects and redirects in JavaScript. Not 
sure what HTTP response code is used.

If my memory serves correctly also some browsers did not include the fragment 
part in bookmarks, so often you would see a "bookmark this page" button that 
would create a bookmark for the 'canonical' URL. That can be very confusing for 
end users though.

How many times have we all seen a DBpedia /page URI used instead of the 
/resource URI? We should no expect most regular users to understand this.

I get the feeling there must be a simple and elegant solution.

Regards,

John

Reply via email to