简体   繁体   中英

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 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM