• Is there a way for one site to view a certain folder and the rest can not? I would like to use ZenPhoto on one site and have it viewed on one site and not have the rest view it. I tried putting the gallery in /wp-content/blogs.dir/3/gallery and it could not view it. Any ideas on how tot fix this?

    Thanks,
    Greg

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dfwgreg

    (@dfwgreg)

    I may have confused people so I’ll try again. I have WordPress Multi-blog enabled. I want to install Zenphoto on one domain and not have the other domains see this folder. I tried putting the folder on /wp-content/blogs.dir/3/gallery and I get a 404 error. I don’t want to put this in the default directory / as all domains have access to this directory, also for SEO reasons.

    Can this be done?

    Thanks,
    Greg

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    No … we get it. It’s just … Not really. I mean, you can’t really do it out of the box.

    Regardless of if you’re using subdomains (sub1.domain.com and sub2.domain.com etc) or multiple top level domains (domain1.com domain2.com etc), the whole kit and kaboodle runs from your master domain’s public_html folder (or whatever).

    So if you make a folder /zenphoto then it will be accessible by ALL blogs.

    The only way around it I can think of is if you setup .htaccess to redirect any requests for the folder that if they DON’T come from a specific domain/subdomain, they get rerouted to a sorry page.

    (also please don’t bump – many of us troll the ‘no replies’ page to help the stranded. Bumping takes you OFF that list.)

    Thread Starter dfwgreg

    (@dfwgreg)

    Got it. Thanks.

    Thread Starter dfwgreg

    (@dfwgreg)

    Update: It somewhat blocked using this code

    RewriteCond %{HTTP_REFERER} controlalttv\.net [NC]
    RewriteRule .* – [F]

    However, you can still view the site from controlalttv.net/gallery but with the css removed.

    I too wish there was a simple solution for this…hopefully someone posts one 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress MU folders view on one domain and not others’ is closed to new replies.