• travelsuperlink

    (@travelsuperlink)


    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.

Viewing 1 replies (of 1 total)
  • Les Bessant

    (@lesbessant)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Any hack to run a wordpress plugin at other directory?’ is closed to new replies.