0

I want to get directory, where wordpress was installed from a scope of normal visitor.

So when I have:

/var/www/clients/client1/web8/web/tests/mywebsite/

I only want:

/tests/mywebsite/

How can I achieve that?

  • Is web/ the public directory? Is WordPress installed inside tests/mywebsite/? – Jacob Peattie Oct 9 at 5:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.