Wordpress: Images not rendering on the site

119 Views Asked by At

I'm working on a client wordpress website with a custom theme. The problem is that images are not rendering on the website (eg. Logo, slider images, etc). I've checked the media library and whenever I'm trying to access the image URLs it says 500 internal server error. The website is hosted on a Windows server (XAMPP) and has IIS 7.

The website was actually running fine until i noticed that by default the url had index.php in it for all the website links (Eg. http://example.com/index.php/about-us/vision-and-mission/, http://example.com/index.php/core-values/, etc ). I later discovered that in the permalinks, they were using custom links with index.php in it so I just changed the custom structure to postname which actually broke it all.

I've checked the images in the server and they are present there at the very URL but somehow its not coming up on the frontend.

PS: This is .htaccess file

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Any help would be appreciated!

0

There are 0 best solutions below