Wordpress moved my site from Xampp to IIS 10, images not loading.

Manoj Chacko
Manoj Chacko used Ask the Experts™
on
Wordpress I moved my site from Xampp to IIS 10, currently running the server copy as a local version for test it, but my images are not loading. and when I login the redirect back to the page not working as well any idea how to fix this.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
What method did you use to move the site ?

Author

Commented:
I just copied the files in htdocs over. Database is still the same, not moving.
Presuming that the images were originally under /htdocs, and that you have a working install of PHP etc on the IIS host, have you checked file permissions ?

This may be of use  https://blog.zaven.co/install-wordpress-iis/

When changing platforms, it is usually best to do a clean install of the application to test that it all works as expected before migrating to it.
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Maybe your local copy would be looking for the images using the full path  (url) ?

I would rename or delete the .htaccess file in the root folder  (probably htdocs)
and then log in.
then go to settings->permalinks and resave them to create a new .htaccess file
had to define site on the wp-config file which fixed image loading issue.

Author

Commented:
had to define site on the wp-config file which fixed image loading issue

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial