一个 WordPress 位于多个/子文件夹中
是否可以让一个 WP 实例运行domain.com/articles 和domain.com/tips,而站点的其余部分则由Zend Framework 运行?
Is it possible to have one WP instance run domain.com/articles and domain.com/tips while the rest of the site would be run by Zend Framework?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以做的是设置一个 Wordpress MU 站点。在domain.com/articles 和domain.com/tips 上进行安装,然后网站的其余部分应该不会引起任何问题。
唯一的缺点是您的网站的两个部分基本上有两个网站。我刚刚做了一个 Wordpress MU 构建,它有点棘手,但最终一切正常,而且更新起来非常容易,只需额外点击一两次即可。
What you could do is setup a Wordpress MU site. have the install on domain.com/articles and domain.com/tips and then the rest of the site shouldn't cause any problems.
The only downside is that you basically have two sites for two sections of your site. I just did a Wordpress MU build and it got a little tricky but in the end it all worked and its pretty easy to update, just an extra click or two.
您可以在根域中安装 Worpress。使 WordPress 的主页安装为网站的当前主页,并保留所有链接、布局和原始网站子文件夹。然后让 Wordpress 处理上面定义的其他 URL,确保不创建与当前站点目录冲突的任何 Wordpress 目录。
You can install Worpress in your root domain. Make the homepage of the Wordpress install the current homepage of your website with all of the links, layouts, and original site subfolders preserved. Then just have Wordpress take care of the other URLs that you defined above, making sure not to create any Wordpress directories that conflict with the current site directories.