PHP Include wordpress
-
I’m trying to php include wordpress’ index.php in my index.php, I dont use wordpress themes, so installing it on the main directory or having a redirect is out of the question. I was able to do this before with previous versions. Any idea what I can do?
My site is https://lacerated.org and I’m testing it out on https://lacerated.org/index2.php but I get this error:
Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/lacerate/public_html/wp/index.php on line 4
Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php’) in /home/lacerate/public_html/wp/index.php on line 4
- The topic ‘PHP Include wordpress’ is closed to new replies.