Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I migrated my WordPress site from host to host, also to different domain, according to the guide at WPExplorer, however the images do not shown. I replaced the database records via "Search Replace DB Master" so the old_domain.com was set to www.new_domain.com. The images are still missing though (even in admin backend). If I right-click on the picture and copy its address, then put the address into browser search bar, the image works with no problems. So e.g. www.new_domain.com/wp-content/uploads/XY.png is the image on the web, it does not work. But if I enter this link into browser, the image does show up. Where could be the problem?

share|improve this question

OK, solved. It was caused by my Rewrite rule in .htaccess file which I forgot to change after migration.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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