If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.

However I am not sure how to edit or even find .htaccess, tried editing it in the litespeed pannel but I could only find a allow overright option in configure/server. I am not used to litespeed or apache either.

I do however have root access to my server (using debian). If you could give me instructions on how to access the htaccess that would be appreciated.

Tried that, there was no .htaccess file at the root the the site so I created one and placed it in in the root of the website (usr/local/lsws/DEFAULT/html/.htaccess). Still got the same error even after both a web server and server reboot.