Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 05-16-2008, 12:17 PM
MikeinSC MikeinSC is offline
Hatchling Croc
 
Join Date: Apr 2006
Posts: 18
Question Question regarding using www, and images not appearing on website

All,

I just created an online image gallery the other day using the "Gallery" application under Fantastico. I placed it in one of my subdomains, under a directory called photos.

Now, when I set my path in the URL to view the images without using WWW, the images from the photoshoot show up fine. However, when I use the WWW, the images do not appear.

My client pointed this out when she tried viewing the photos that I recently took.

Here are the links to illustrate my issue:

This works:
http://practicesite.info/photos/main.php

This does not:
http://www.practicesite.info/photos/main.php

Is there a setting in the Cpanel that I need to check or change? I checked the file manager, and everything is located within the photos subdirectory, which in turn is within the practicesite.info directory, inside www.

Thanks everyone.

Mike
Reply With Quote
  #2  
Old 05-16-2008, 10:15 PM
striddy striddy is offline
Emperor Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 2,623
Default Re: Question regarding using www, and images not appearing on website

Quote:
Originally Posted by MikeinSC View Post
Here are the links to illustrate my issue:

This works:
http://practicesite.info/photos/main.php

This does not:
http://www.practicesite.info/photos/main.php
Mike,
when adding your pictures to the gallery what path are you using?

e.g.
/photos/photoname or practicesite.info/photos/photoname

PS. Best to not post support questions in the pre-sales forum. A support forum would have been better.
__________________
- David

Folding@Home Stats :
Reply With Quote
  #3  
Old 05-17-2008, 04:22 AM
Quads Quads is offline
Junior Croc
 
Join Date: Jan 2008
Posts: 107
Default Re: Question regarding using www, and images not appearing on website

My guess would be hotlinking.
(providing you are on a shared server)

Check if you have hot linknig protection enabled, and if you do, you'll need to add both urls to the allowed to hot link list. It's kind of weird, but in a shared environment, you need to add each of your domains, with www and w/o if your .htaccess accepts both urls as valid.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 05:18 AM.

 
Forum SEO by Zoints