HTML issues
October 27, 2004 1:28 PM Subscribe
HTML crisis: I use relative URLS on my blog because pages archive in different files- for example, a tag for a JPEG would be /images/image.jpg inside image tags. Because I use that first slash to make the relative URL work, all image tags are broken when you type or link to my site without a "www" in the url. In other words, "www.mysite.com" shows all the images fine, but "mysite.com" loads the site with little red x's everywhere. Solution?
What's weird is that I load all my HTML and Flash (swf) files through relative URLs as well, and they load fine with or without a www in the URL. COuld it be a browser issue instead of a code issue? Using Windows XP with IE, currently SP2 but this problem occured in SP1 as well.
posted by XQUZYPHYR to computers & internet (6 answers total)
A possible solution could be to implement a BASE tag, but that would throw off links in deeper pages.
posted by o2b at 1:41 PM on October 27, 2004