Use NGINX and you do not have to worry about .htaccess.
(obviously this is meant as a joke kind of answer which also carries a valid answer to the question)
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
In our production server they have disabled .htaccess file to load in apache configuration for some security reasons, due to this all the URL's are added with index.php in addition.
Problem image url and curl request is not properly working due to the index.php added in addition to the url.
Is there are other way to do this.
Please or to participate in this conversation.