I want to prevent WP from messing with my url - if the user comes to http://www.mysite.com, I want it to leave the www. If they come to http://mysite.com, I don't want it to add the www.
I am not very familiar with the backend of WP. I've seen some things that may or may not relate - but no clear solution. For example, this post here...
They seem to have resolved it without saying how. Other posts say how to force it to always have www, or always not, but I can't find anything about just leaving it alone however it is. The stuff that I've seen about messing with MySQL tables and .htaccess is pretty much gibberish to me, so very clear instructions would be very much appreciated.
The reason - I have a non WP page on my site that pulls in content from various places in the blog using ajax. If the user comes to http://www.mysite.com, I get a cross domain error trying to pull in from http://mysite.com/wordpress/etc. I am using relative URLs in the js, not absolute. Even if I try forcing an abosolute url that includes the www, WP strips the www and it fails.