Search code examples
.htaccessdrupaldrupal-6

When access image file throgh url it redirects to page not found page in drupal6


I am using drupal6 for my website. When i try to access the image url like mysite.com/sites/default/files/aisle-mapper/web-icon Aisle Mapper.png through browser the link redirects to mysite.com/aisle-mapper/web-icon%20aisle%20mapper.png and shown page not found message. Becuase of this issue lot of images are not loading in my site. When i remove all the capital letter from the image name the image is loading properly. Is there any issue in drupal to provide the image name with capital letter.

The issue is only in my website it is working perfectly on my localhost.


Solution

  • It might be caused by the pathauto module.In Administer › Site building › URL aliases you can find the automated alias settings tab.Under that go to the general settings area.You might have set character case set to change to lowercase.Hope that might be your problem.. :)