However when i push this to my live site and view it, the url that the link gives me is http://myipaddress/images/bg/background-image.jpg which does not show the image. If i go directly to the image URL i get the following error.
NotFoundHttpException in RouteCollection.php line 161:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
@ejdelmonico whats the point of the slash at the beginning. The url of the image that is showing up on my live site is correct, its just saying the file is not there.
@spekkionu Yes i have checked this 10 times thinking im crazy. The file is in the folder which is in my public folder. public/images/filename.png