Browsing index pages (2 articles)
↧
URL Rewrite based on User-Agent header
You can optimize content by delivering only Open Graph meta tags to the crawler and only the content itself to regular users. [source]I'm trying to identify Facebot(Facebook's crawler) so I can serve...
View ArticleAnswer by tim for URL Rewrite based on User-Agent header
For anyone still looking for a solution to this: Here is how I currently check whether a user agent is from facebook:const agent = request.headers["user-agent"]if...
View Article
Browsing index pages (2 articles)