I'm setting up a laravel 5.2 site with cpanel.
I have the domain root pointing to `public' and the site is working.
However for the home/index page it constantly shows public
in the url and comes up with a page not found error.
so for my expected url I enter www.example.com
and it comes up with www.example.com/public
If I navigate to an expected page e.g. www.example.com/production
the page gets shown correctly and the url is presented correctly
I've got the site working correctly in homestead
and I've created another site and that works fine - just can't work this out!
here's the contents of my .htaccess:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
This is the standard set up
very confused - what's missing - what can I test?