I have W3 Total Cache installed so that I can serve images from my live website to a local development version. Everything seems to be working as expected, apart from the URL rewrite doesn't seem to happen on a custom post types pages.

I don't have the caching switched on, and the CDN hostname replacement is working very well on every other page.

Any ideas?

1 Answer 1


The answer was to get http://wordpress.org/plugins/wp-regex-replace/ and simply replace the full absolutely path to the wp-content/uploads folder.

  • Another option is to export your MySQL database to a .sql file and download it locally, then do a search & replace for the live site's URL to replace it with the dev site URL. Then drop the tables in the database and import the .sql file back in.
    – Christiaan
    Jun 3, 2013 at 3:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.