# XML files not working when I go to "www"

**URL:** <https://forum.kirupa.com/t/xml-files-not-working-when-i-go-to-www/313120>\
**Category:** programming\
**Created:** [August 20, 2010, 4:10pm UTC](https://forum.kirupa.com/t/xml-files-not-working-when-i-go-to-www/313120 "2010-08-20T16:10:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hey\_suburbia](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@hey\_suburbia](https://forum.kirupa.com/u/hey_suburbia)\
**Post date:** [August 20, 2010, 4:10pm UTC](https://forum.kirupa.com/t/xml-files-not-working-when-i-go-to-www/313120/1 "2010-08-20T16:10:15Z")

</div>

## I have some XML files that look like this:

## \<photo\> \<content src=“[http://mysite.com/slideshow/pic/1m.jpg](http://mysite.com/slideshow/pic/1m.jpg)” /\> \<caption\>\<![CDATA[\<head\>Product Name\</head\>]]\>\</caption\> \<link src=“[http://mysite.com/productname.php](http://mysite.com/productname.php)”/\> \</photo\>

(Note they don’t have “www”)

So, when I go to:  
[http://mysite.com/productname.php](http://mysite.com/productname.php)  
(no “www”) Things work fine, but

when I go here:  
[http://www.mysite.com/productname.php](http://www.mysite.com/productname.php)  
(with “www”) Things don’t resolve to their links.
