All Products 
Username / Customer#
Password
Log In
  • Site Search
  • Domain Search
  • WHOIS Domain Check
24/7 Support: (480) 505-8877
Hablamos Español
9 AM to 9 PM IST
7 days a week
Go Daddy Support

Search help articles, forums, and discussion groups

Directory Access or PDF access via root directory

Viewing post 1 to 4 (4 total posts)
Profile picture of Finisterra

finisterra said 1 year, 2 months ago:

Hi there!

I have a Wordpress site loaded which is working out of the /wordpress/ directory. I have another folder in the root directory called /Documents/ with several PDF files i would like to link to, however, whenever I link to or try to open them at the address manually I receive the following error:

Warning: require_once(/home/content/98/8458398/html//wp-includes/load.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/98/8458398/html/wp-load.php on line 46

Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/98/8458398/html//wp-includes/load.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/98/8458398/html/wp-load.php on line 46

How do I go about fixing this? It is only this directory that needs to be accessible for file download; the rest of the site I’d prefer to have off limits!

I’ve already opened the file manager and set the permissions for the folder to web visible (and even executable), and I’ve tried using a .htaccess to open the directory but so far to no avail.

Thanks for the help!

Profile picture of Gary A

GoDaddy Expert Gary A said 1 year, 2 months ago:

@finisterra

You should be able to make the files accessible by adding a blank .htaccess file to that folder. If this doesn’t resolve the issue, can you provide a link to one of the files so that we can take a better look at it?

-Gary

Profile picture of Finisterra

finisterra said 1 year, 2 months ago:

I have added a blank .htaccess file to the folder and it worked brilliantly.

Thanks so much!

Profile picture of TimB

GoDaddy Expert timb said 1 year, 2 months ago:

@finisterra

Glad to hear this solution worked for you and thanks for posting on our forum!

Tim B

Add a reply:

You will auto join this group when you reply to this topic.

When posting about a technical issue, please be sure to include as many details as possible, such as your domain name, related URLs and other pertinent information. This consideration will allow us to better understand the situation and quickly assist you.