I want to make indexable my ajax based website.
I have read this doc: http://ift.tt/PGKKpZ But I don't understand it at all.
I think I need to do it:
-
Write this tag in a webpage, for example: www.myweb.com/mypage
<meta name="fragment" content="!">
-
I'm using UrlRewriteFilter for my Tomcat Server (http://ift.tt/L066wZ), so I think I could redirect the urls with the substring: "?_escaped_fragment_=" to a html snapshot (which I can build manually, writing my custom meta-description, title and content???)
<rule> <from>^/mypage\?_escaped_fragment_=</from> <to type="forward">/snapshots/mypage.html</to> </rule>
-
Write the URLs (without the escaped fragment) into the sitemap.xml
... <url> <loc>http://ift.tt/1ed3v19; ... </url> ...
Is it right? I need to do something more?
Aucun commentaire:
Enregistrer un commentaire