我们在WhatsApp中有共享链接的问题,它忽略了_escaped_fragment_,在我们的angularjs应用程序中,我们有以下网址
http://host_name/!#/user/1
所有bot facebook google twitter链接正在转换为
http://host_name/?_escaped_fragment_=/user/1
一切都很好。 WhatsApp机器人的问题,忽略了,
我们的htaccess规则是
RewriteCond %{HTTP_USER_AGENT} (Twitterbot|Pinterest|Google.*snippet|LinkedInBot|bingbot|Yahoo|MSNBot|YahooSeeker|baiduspider|rogerbot|embedly|quora\ link\ preview|showyoubot|outbrain|Slackbot|Slack-ImgProxy|Slackbot-LinkExpanding|Site\ Analyzer|SiteAnalyzerBot|Viber|Whatsapp|Telegram)
RewriteRule ^$ /SEO/static-page.php [R,NC,L]
如果任何人有信息或遇到类似问题,请告知我们