I'm using W3TC to basically modify all my urls to be something like "www.mysite.com", while the content is actually on "origin.mysite.com". The CDN loads the content from origin and serves it on www.
It works well with the homepage, and I can access it via the "CDNed" name, but info retrived in the template via the_permalink() or get_bloginfo('url') still use the origin site.
That said, the URLs for the theme have been replaced properly.
What can I do to get all the URLs to show up as http://www.mysite.com/<something>? Also, is there a simpler way to perform this replacement and use W3TC only for the DB caching?