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

So when I have:


I only want:


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.