When processing such pages (like mysite.com/#/product/zzr1400) google crawler sees only template with "{{something should be here}}" tags.
I have created this site for experimenting purposes.
According to little research I did (see this grate tutorial and here) for make your site to be indexed by google you need to serve crawler bot static HTML snapshots made from your dynamic views.
Steps
For doing it you need to perform following steps:1. place following tag in the head of your index page:
<meta name="fragment" content="!">
2. make sure your router configured to use "!" or html5 mode
$locationProvider.html5Mode(true);
$locationProvider.hashPrefix('!');
This tells crawler to access the site using "?_escaped_fragment_=" quesry string.3. configure your server or use some online services like Prerender.io or brombone to serve static html snapshots of your content.
How to check you pages are cached for crawler?
If you using prerender.io online service:Access your dashboard:
You should see the table of your pages in the "cached pages" section.
No comments:
Post a Comment