Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 627 Bytes
RewriteEngine On
# Facebook Apps
# http://ogp.me/ns/fb/social_drinking
RewriteRule fb/(.+) http://graph.facebook.com/schema/og/fb/$1 [L]
# The root Facebook Namespace
# http://ogp.me/ns/fb
# http://ogp.me/ns/fb/
RewriteRule fb/? http://graph.facebook.com/schema/og/ [L]
# Vertical OG Namespaces
# http://ogp.me/ns/music
# http://ogp.me/ns/book
# The NS means it won't be used for subrequests
# The condition allows the local schema files to be reached
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)$ http://graph.facebook.com/schema/og/$1 [L,NS]
# The root OG Namespace is handled by index.php
# http://ogp.me/ns