你好,亲爱的WordPress,
我想有一个WordPress引擎上的网站与其他语言一起运行。
我想有一个网站+域名,例如:
myblog.com - main
myblog.de - translated to German
myblog.se - translated to Swedish
myblog.jp - translated to Japanese
有可能通过一个WordPress +翻译运行多个网站(翻译)吗?怎么做?
我正在开发一个带有html5路由的SPA。例:https://app.example.com/restaurants/<restaurantId>/menu等
基本上,该应用程序为多家餐厅创建动态网站,托管在https://app.example.com/restaurants/<restaurantId>
其要求是允许餐厅所有者在自己的域名中托管网站。
例:如果restaurantId of Example Pizza Shop是xxx,那么www.examplepizza.com应该和所有的子路线一起服务https://app.example.com/restaur
所以我有BroadStore.com和NicheStore.com。BroadStore.com是我的主域,而NicheStore则被添加为附加域名。Magento安装在/public_html/ (BroadStore.com根目录)中。
,但在某一点上,它需要:
//With the index.php file still open, replace the following line of code:
Mage::run();
//…with the following:
Mage::run('shoes', 'website');
但默认情况下,我当
我可以轻松地使用代码来验证提交:
// Check to see if the URL is banned.
$array=parse_url($contenturl2);
$domaincheck = $array['host'];
$domaincheck1 = str_replace("www.", "", $domaincheck);
$domaincheck2 = "http://".trim($domaincheck1);