Support » Networking WordPress » custom php file for a specific child site

  • Hi,

    i want to have a custom php file on one of my child sites.

    For example: child3.mydomain.com/somecustomfile.php

    How do i do this?

Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Make the file and put it in mydomain.com

    Then in the PHP code, have it check that the domain is child3 and, if not, redirect to a 404.

Viewing 1 replies (of 1 total)
  • The topic ‘custom php file for a specific child site’ is closed to new replies.