ptamzz
ptamzz

Reputation: 9365

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.

Upvotes: 0

Views: 232

Answers (2)

JohnP
JohnP

Reputation: 50019

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

Upvotes: 0

fabianpimminger
fabianpimminger

Reputation: 176

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

Upvotes: 3

Related Questions