Msg#: 4481238 posted 1:10 pm on Aug 2, 2012 (gmt 0)
Not quite sure which forum these questions fit into, so apologies if this is the wrong one. Blessings to every one here.
I am uncertain about how subdomains work when it comes to paths to images. A layman level explanation on this will be appreciable. My hosting is with GoDaddy. So I am not able to figure out whether its a coding level tweaking which I need to do at my end or a server side tweaking.
Msg#: 4481238 posted 5:42 pm on Aug 2, 2012 (gmt 0)
You need to know two things:
The difference between relative links and absolute links
What happens behind the scenes in your subdomains.
The place for explanations of both questions-- often both in the same thread or even the same post-- is down the road in the Apache forum. You can try a Forums search and come up with mountains of hits, some of them sounding suspiciously similar.
Most important: Normally subdomains involve rewriting, so the user sees "subdomain.example.com" but the page content really lives at "www.example.com/subdomain". (Other configurations are possible, but this is the most common.) Links refer to where the browser thinks the page is located. Requests for non-page material-- images, stylesheets and so on-- may or may not get rewritten along with requests for pages. Your host probably has a page of boilerplate explaining this part.
Do you yourself have to do anything in htaccess about the subdomains, or is it done by the host?