The MU forums have moved to WordPress.org

Where do I place my custom sub-domain php script? (4 posts)

  1. logart
    Member
    Posted 14 years ago #

    Hello,

    If I wanted to have a php script available to my sub-domain, lets say it's called test.php, where should I put it? I don't want to place it in my theme dir, because what if I change themes? I don't want to put it in the MPMU install folder because I don't want it available to other domains.

    Thanks for any assistance.

  2. logart
    Member
    Posted 14 years ago #

    Maybe I am not wording the question properly. I have a php script I need to be able to run inside one of my sub-domains. Where should I put that script?

  3. tdjcbe
    Member
    Posted 14 years ago #

    Depends on the script actually. Normally I dupe the theme that the blog is using, assign it only to that specific blog, and create a Page Template based around that additional script.

  4. logart
    Member
    Posted 14 years ago #

    Ok, I have thought about doing that as well. What about using PHP Execute and Unfiltered plugins? Anyone every used those?

About this Topic