I have an SPA that handles many digital assets. I want all these assets to be indexed by search engines. To do this I've created 2 new pages in my site. These pages are only shown to bots crawling my site. The first page contains a paginated list of links: I don't want this page indexed so therefore I have a
<meta name="robots" content="noindex,follow"/>
All of these links point to my second page with IDs as url parameters. The second page contains details about the individual asset:
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel='canonical' href='http://example.com/#!/asset/481' /> <meta name='title' content="Michael Jordan's Steak House" /> <meta name='description' content="The staircase to the Michael Jordan's Steak House" /> <meta name='keywords' content='Chicago, city, food, light, restaurant, Steak' /> <title>Michael Jordan's Steak House</title> </head> <body> <table style="width:100%"> <tr> <td>title</td> <td>Michael Jordan's Steak House</td> </tr> <tr> <td>description</td> <td>The staircase to the Michael Jordan's Steak House</td> </tr> <tr> <td>keywords</td> <td>Chicago, city, food, light, restaurant, Steak</td> </tr> </table> </body> </html>
Why is this/how can I fix it? Can I do something other than the rel="canonical" trick to make bots crawl one page but index it as another?
ps.: nervermind the actual content of the second page(besides the canonical link). I am taking baby steps. First I want the pages to be indexed correctly, then I'll focus on optimizing snippets and all that.