如何从example.com重定向到apps.facebook.com/example?

时间:2013-06-29 20:40:35

标签: facebook redirect facebook-apps

请看这张图片:

http://www.theatrenetwork.com/theatrenetwork-on-fb.png

我希望他们看到app.facebook.com/theatrenetwork,而不是我的用户看到theatrenetwork.com。

我曾向一些人询问如何在没有循环的情况下重定向,但人们只提供了可怕的替代方案。

我可以轻松地从theatrenetwork.com重定向到apps.facebook.com/theatrenetwork,但显然网站只是继续重定向,而且只是一个空白的facebook shell。

我希望我需要一个index.html文件或一个.htaccess文件,用编码器语言“改为仅向APPS.FACEBOOK.COM / THEATRENETWORK一起使用” - 这是我无法写的。

我无法编码。

请帮忙。

1 个答案:

答案 0 :(得分:0)

我建议的是改变结构的设置方式。使您的域名指向index2.html,它是index.html的精确副本,但包含重定向到您的apps.facebook页面。

<meta http-equiv="Refresh" content="5; url=http://apps.facebook.com/theatrenetwork">