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

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.
Manoj ChackoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What method did you use to move the site ?
Manoj ChackoAuthor 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.
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

Peter HartCommented:
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
@chilternPC on IIS a .htaccess file is just a file, it does not affect how IIS serves content without a 3rd party module.


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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Manoj ChackoAuthor Commented:
had to define site on the wp-config file which fixed image loading issue
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.