I'm trying to extract company name from a URL;
www.example.com/company-name/
The URL will always be prefixed with the company name.
How can I extract this but allow access to files/folders that exist?
Here's what I currently have, its returning a 404;
RewriteRule ^([a-z,A-Z,0-9,-]+)/?$ /?CompanyName=$1 [NC,L,QSA]
N.B. Would prefer not to implement a controller