ajax - nginx crawlable site facebook share -
my site following ajax crawlable specifications, , it's been indexing pages perfectly.
currently trying integrate social sharing via facebook, twitter, etc. in not working....
my setup quite simple: - grunt task create static snapshots - nginx rewrite rule point snapshots when _escaped_fragment_ param used.
the issue here facebook escapes characters, e.g. url mawla.io/#!/blog facebook substitute mawla.io/?_escaped_fragment_=%23blog, snapshot this:
path/to/snapshots%23blog.html
which result in 404... there way unescape %23 / in nginx??
thanks in advance
the ajax crawlable spec seems hint unencoding done on the implementers side, means either using nginx lua plugin , unescapedencoding or perhaps run incoming traffic base urls through service.
we created escaped_fragments encoded values lazy hack around this.
Comments
Post a Comment