Using wordpress functions outside of wordpress
-
Hi
When I try to use wordpress functions outside of wordpress it always seems to redirect me back to my blog. I have WP 3.5.1 multisite and it redirects. I’m running virtual host on my webserver and when i try to use wordpress functions outside of wordpress
http://mysite.com/test.php has the cod below and it always sends me back to http://blog.mysite.com
<?php require( '/path_to_my_wp_install/blog/wp-load.php' ); echo 'new content outside WordPress'; echo 'some wordpresss functions used here'; ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Using wordpress functions outside of wordpress’ is closed to new replies.