Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8164437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:18:58+00:00 2026-06-06T19:18:58+00:00

I have a site with this simple structure: \public_html {files}.php \files \es For the

  • 0

I have a site with this simple structure:

\public_html
  {files}.php
  \files
  \es

For the public_html I created a domain site.com and for the public_html/es I created spanishsite.com domain. The problem is: I need to access the FILES directory in the Spanish domain… so, how can I do this?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:19:00+00:00Added an answer on June 6, 2026 at 7:19 pm

    It sound like you’re trying to link to the file, rather than just read it from PHP.
    Of course, since you’re serving /es/ on that domain, you web-server won’t serve files above that directory.

    You’ve two choices:

    1) The easiest, just symlink files into es/ and link to that:

    cd es/
    ln -s ../files
    

    In your PHP file, link to files/, just as if it where inside es/.
    If your server runs windows, you’ll have to use mklink instead of ln. Check the manual to know the exact arguments you need.

    2) Configure your webserver to serve the /files/ directory of the spanish domain from a different path; the path where the files is currently located to be precise. How to do this will depends strongly on what webserver you’re using, and you’ll have to reconfigure this any time you change it, as well as replicate this configuration on any test servers, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Preface: I am sure this is incredibly simple, but I have searched this site
I'm sure there's a simple answer to this... or not: I have a site
I have downloaded the sample code from this site for FTP Client http://www.lysesoft.com/products/andftp/index.html But
On this site: http://walkman.pk/aserdus2/tagok.php I have two background-images on the left and right side,
I have quite simple site structure with one mastepage and a bunch of pages.
I have searched this site and Google and even though the idea is pretty
though I have visited this site many times, this is my first question. After
I have this membership site setup on my local machine using the ASP.NET membership
i have been to this site to try and get my car movement sorted
I have a site with a SELECT statement like this: SELECT * FROM MyTable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.