Topic on Project:Support desk

This post was hidden by 101.50.71.230 (history)
Ciencia Al Poder (talkcontribs)

Your server is misconfigured somehow. If you add ".jpg" at the end of *any url* it gives that 404 error instead of displaying an empty wiki page. Unless you've done this deliberately in your rewrite rules, you should ask your hosting support to fix that.

This post was hidden by 101.50.71.230 (history)
Ciencia Al Poder (talkcontribs)

It's not a MediaWiki related problem. MediaWiki doesn't handle this 404 error, it's being handled by the webserver, meaning MediaWiki isn't even being called here. You can test that enabling a debug log and seeing that those URLs don't get logged.

101.50.71.230 (talkcontribs)

@Ciencia Al Poder My domain is on root and doesn't have any htaccess as for some reason htaccess is not working as I tried testing it from the tutorial over here: https://docs.bolt.cm/3.4/howto/making-sure-htaccess-works So is it compulsory for MediaWiki to handle permalinks using htaccess too which could be one reason why image files my server is sending to not found or it has nothing to do with htaccess and there is something wrong with the server and I need to contact my hosting provider. I am using shared hosting on just host by the way.

101.50.71.230 (talkcontribs)

Turns out the issue had to do with my htaccess and its fixed now. Thank you for your help.