【发布时间】:2012-10-31 08:01:48
【问题描述】:
如何为两个不同的区域设置基于位置的通配符重定向?特别专注于 PHP/LAMP 设置,具有多个 Wordpress 站点。
所以有两个域:
http://website.com/ --- Serves Australia
http://website.com/international/ --- Serves Everywhere Else
http://website.com 上的所有页面也存在于http://website.com/international 上,因此:
http://website.com/about-page/
http://website.com/international/about-page/
这样当美国的用户转到http://website.com/about-page/ 时,他们会被重定向到http://website.com/international/about-page/
感谢任何想法/建议!谢谢!
【问题讨论】:
标签: php wordpress redirect geolocation location