WordPress.org

Ready to get started?Download WordPress

Forums

Any hack to run a wordpress plugin at other directory? (2 posts)

  1. travelsuperlink
    Member
    Posted 8 years ago #

    Let me explain a little what I try to do.
    I am running a website, the wordpress blog is running at /blog/ sub-directory. I really like some wordpress blog plugins and wish I could reuse them somewhere else, for example, some subdomain like test.mydomain.com

    I tried one plugin, and found I could not modify
    require('./wp-blog-header.php'); to anythinkg like:
    require('http://www.mydomain.com/blog/wp-blog-header.php');
    it gave erros.

    is there any hack I can modify slightly for the plugin and let it work at some other directory and even at subdomain? thanks a lot.

  2. The path you need to use is a file path, not a URL.

    So it could be something like /home/username/domain/test or whatever.

Topic Closed

This topic has been closed to new replies.

About this Topic