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.
* iis10WordPressApache Web Server
Last Comment
Manoj Chacko
8/22/2022 - Mon
ArneLovius
What method did you use to move the site ?
Manoj Chacko
ASKER
I just copied the files in htdocs over. Database is still the same, not moving.
ArneLovius
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 ?
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
ArneLovius
@chilternPC on IIS a .htaccess file is just a file, it does not affect how IIS serves content without a 3rd party module.