I would like to use my htaccess to file to both remove the index.php from the url and redirect all users to SSL, is this possible and how can i do it, i have tried the code below but it isn’t working.
RewriteEngine On
RewriteCond %{SERVER_PORT}!443
RewriteRule ^(.*)$ https://mysite.com.au/web/directory [R]
RewriteCond $1 !^(index\.php|robots\.txt|sitemap\.xml|favicon\.ico)
RewriteRule ^(.*)$ index.php/$1 [L]