开发者

Integrating wordpress with my site

I've my site at http://www.domain.com/site and my wordpress blog at http://www.domain.com/blog.

While trying to integrate the wordpress with the site, I've included

// Include WordPress
define('WP_USE_THEMES', false);
require('../blog/wp-blog-header.php');

It shows a error 500 when accessed on the browser. How do I give the path to the wp-blog-header?? NOTE: open_basedir开发者_如何学C restriction is also there in my server.


Probably the best idea is, to recreate the blog layout for your site. It will take some time and you'll need some basic html + css skills, but it's the best option


Is the path of the header file correct? Try giving it an absolute path.

This article has integration details, and the only thing you could get wrong is the path. Do you have any custom .htaccess instructions?

http://codex.wordpress.org/Integrating_WordPress_with_Your_Website

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜