Uploaded image path incorrect
Posted: 27. February 2016 00:27
Hi,
I am using xampp on a windows 10 machine. I am new here so forgive me if I have posted incorrectly so here goes.
When I upload an image in my localhost setup of xampp the file path to the image is <img height="99" alt="Jaginder Singh Mudhar" src="http://localhost/www/beta/www/upload/users/jag_88/images/Business_supermarket_1456519878.jpg">
However when I view the source in the browser I noticed that /index.php/ has been added to the file path after www ie
<img height="99" alt="Jaginder Singh Mudhar" src="http://localhost/www/beta/www/index.php/upload/users/jag_88/images/Business_supermarket_1456519878.jpg">
How may I get rid of this path.
I do not wish to change the site code as the site code works on the live website. I rather config xampp to get rid of the extra path that it has placed.
Any advice would be greatly appreciated
Jag
I am using xampp on a windows 10 machine. I am new here so forgive me if I have posted incorrectly so here goes.
When I upload an image in my localhost setup of xampp the file path to the image is <img height="99" alt="Jaginder Singh Mudhar" src="http://localhost/www/beta/www/upload/users/jag_88/images/Business_supermarket_1456519878.jpg">
However when I view the source in the browser I noticed that /index.php/ has been added to the file path after www ie
<img height="99" alt="Jaginder Singh Mudhar" src="http://localhost/www/beta/www/index.php/upload/users/jag_88/images/Business_supermarket_1456519878.jpg">
How may I get rid of this path.
I do not wish to change the site code as the site code works on the live website. I rather config xampp to get rid of the extra path that it has placed.
Any advice would be greatly appreciated
Jag