WordPress 3:如何在同一网站上拥有更多博客页面?
我希望我的网站中有 2-3 个具有不同 URL 的博客,并且每个博客都有不同的内容。假设一个是关于视频的,另一个是关于文本的,另一个是关于图像的(只是一个例子)。
我怎样才能做到这一点?我必须更改主题还是这只是 WP 设置的事情?
编辑:
它必须位于同一域中,例如: mysite.com/text/
mysite.com/image/
mysite.com/video/
其中 /text/、/image/ 和 /video/ 都是在 WP 中创建并使用自定义模板文件的页面。但是,我希望它包含博客文章,而不是在富文本编辑器中编写静态内容。
谢谢。
I want to have 2-3 blogs with different URLs in my website and also have different content for each one. Say one is about Video, another about Text and another about Images (just an example).
How can I do that? I have to change the theme or is it a WP settings thing only?
EDIT:
It must be on the same domain like:
mysite.com/text/
mysite.com/image/
mysite.com/video/
Where /text/, /image/ and /video/ are all Pages created in WP and with a custom template file. However, instead of having static content written in the Rich Text Editor, I want it to contain blog posts.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您可能正在寻找“博客网络”:http://codex.wordpress.org/Create_A_Network 。
否则,您可以为每个博客安装不同的 WordPress 实例。
在第一种情况下,您将在服务器上安装一个 WordPress 实例,然后对其进行配置以满足您的特定需求(您将在提供的链接上找到答案)。
或者,您可以为每个博客的每个文件夹安装一个 WP 实例。
You're probably looking for a "blog network": http://codex.wordpress.org/Create_A_Network.
Otherwise, you can install a different WordPress instance for each blog.
In the first case, you would install one WordPress instance on your server, then configure it to achieve your specific needs (you'll find answers on the link provided).
Or, you could just install a WP instance for each blog, on each folder.
如果我是您,我会使用 自定义分类 API 来创建一个新的分类和三个术语(文本、图像、视频)或者您可以为每种类型创建自定义分类法,这样您仍然可以在每种类型中拥有类别。
编辑(来自下面的评论):您还应该阅读自定义帖子类型。考虑一下,自定义帖子类型会更好。
If I were you, I'd use the Custom Taxonomy API to create a new taxonomy and three terms (text, image, video) OR you could create a custom taxonomy for each so you could still have categories in each type.
EDIT (from comment left below): you should read up on Custom Post Types as well. In thinking about it, the custom post type would work better.
我已经用 WordPress 类别创建了类似的东西!新的菜单选项(外观-菜单)可以将类别作为菜单链接。
WordPress 插件“WP No Category Base”会从您的类别永久链接中删除“/category”,并创建类似
I've created something like that with the wordpress categories! the new menu options (Appearance - Menus) can make a category as menu link.
The wordpress plugin 'WP No Category Base' removes '/category' from your category permalinks and make urls like
创建子域,例如 yourname.com 或 blog.yourname.com 或 blog1.yourname.com 或 yourname.com/blog1 或 yourname.com/blog2,并使用 cpanel 或托管公司提供的工具创建尽可能多的域。
稍后在每个子域上安装 WP。您可以使用 fancya 来实现此目的,这会更容易,否则您需要手动上传文件并执行此操作。 :)
make subdomain such as yourname.com or blog.yourname.com or blog1.yourname.com or yourname.com/blog1 or yourname.com/blog2 and make as much as domains using your cpanel or wotever the tool offered by the hosting company.
later install WP on each of these subdomain. You can use fantastica for this which will b easier else you need to manualy upload files and do it. :)
恩格是对的。您可以使用 WordpressMU(我认为最好的选择),也可以为每个博客安装一个 WordPress 实例。
这里有一些信息
ign is right. You can either use WordpressMU (best choice in my opinion) or you install a WordPress instance for each blog.
Here you have some info