Foxaii thank you for the reply. Your advice has worked for the htaccess which has been updated but still i can’t access the pages they are coming back with page not found. Also the styling is lost when i enable the roots rewrite plugin.
DocumentRoot: The directory out of which you will serve your
documents. By default, all requests are taken from this directory, but
symbolic links and aliases may be used to point to other locations.
DocumentRoot “/var/www/html”
Each directory to which Apache has access can be configured with respect
to which services and features are allowed and/or disabled in that
directory (and its subdirectories).
First, we configure the “default” to be a very restrictive set of
features.