before implementing history.pushState my site I wonder if there is any way to change or to include data generated URLs as targets for social networks such as fb, these metatags are essential for sharing content:
<meta property="og:title" content="My website"/>
<meta property="og:image" content="http://www.example.com/facebook/road.jpg"/>
<meta property="og:site_name" content="Website"/>
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.example.com/" />
My website load content via AJAX and do not really know what would be a viable solution for sharing ajax generated content in social networks.
In addition I have plugins facebook comments and likes on my website without a URL do not work, always count the likes of index.php
Another solution I think is to make a copy of each content loaded by Ajax in new HTML pages and are these that are used to share content, but do not know if this will be good. Is it bad for SEO do this? ¿Penalize me for duplicate content?You could generate a sitemap?
Can I help you could decide?