So, I've had some success after many errors, my current .htaccess looks like this:
IfModule mod_rewrite.c>
Options -Indexes
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
#Redirect URL
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ /public/$1 [NC,L]
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
Before I would have to go to domain.uk/public/index.php
There's 2 issues i needed to fix, first to get rid of the index.php
second to get rid of the /public
Now this code does that but the webpage is broken, no images, css, etc are loading but the site functions do work, I can login and work the page but it has no formatting... any ideas on how I can fix this?