Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

www versus public_html folder?


  • Please log in to reply
3 replies to this topic

#1 hedera

hedera

  • Members
  • 91 posts
  • OFFLINE
  •  
  • Local time:05:04 PM

Posted 03 August 2010 - 02:24 PM

This is probably a stupid question but I don't know the answer. For some years I've had a personal web site, karenivy.net, for which I wrote the HTML by hand, mainly to see if I could do it. Because I was hand-writing all the links, I generally put any JPGs in separate directories under site root, and then linked them with a relative link, like this:

<a href="./Bonnie80th/0032210-R1-033-15.jpg">0032210-R1-033-15.jpg</a><br>

I've rebuilt the site on WordPress, on my laptop, and am trying to upload my rebuild to my ISP, Siteground. I was very pleased that when I imported my HTML into WordPress, and copied my photo folders to site root, it immediately picked up the images; I just had to tinker with the display parms.

I used the Fantastico tool on Siteground's CPanel to install WordPress 3.0.1 on my hosted site. However, when I opened the site in FileZilla, I found that there seemed to be two full WordPress installs, both with all of my directories and both containing the wp-admin, wp-content, and wp-includes folders. One is under public_html, and the other is under www. Does this mean I need to upload my rebuilt WordPress site files to both locations on Siteground? That's the only conclusion I can draw, but I've never dealt with Fantastico before so I'm flying blind here. It seems rather daunting that I'd have to remember to update wp-config, if necessary, in two places all the time, but that seems to be the implication. Is that normal? I don't have anything like that on my laptop install, but of course that's running on localhost.

BC AdBot (Login to Remove)

 


#2 Comkid

Comkid

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Local time:11:04 AM

Posted 09 August 2010 - 06:18 AM

Normally, anything you place in the www folder will only show when you go to the www.yourdomain.tld but if you put it in the public_html folder it'll work on both www.yourdomain.tld and yourdomain.tld, but I assume that's when the www folder is empty ;)

Fantastico isn't the best thing to use when installing scripts, I suggest going directly to Wordpress and downloading and installing from a guide/tutorial there ;)

Edited by Comkid, 09 August 2010 - 06:19 AM.


#3 NpaMA

NpaMA

  • Members
  • 635 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Memphis, TN
  • Local time:09:04 PM

Posted 10 August 2010 - 04:32 AM

In cPanel WWW and PUBLIC_HTML are the same.

#4 hedera

hedera
  • Topic Starter

  • Members
  • 91 posts
  • OFFLINE
  •  
  • Local time:05:04 PM

Posted 13 August 2010 - 10:56 PM

Thanks for the clarification, I appreciate it. Someday I may even know what I'm doing...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users