Hey all,
Been re-writing the HTAccess for the Moodle software which comes as standard. This is the code I have so far:
# BEGIN Moodle
<IfModule rewrite_module>
#Fixes Moodle issue with redirection on shared servers
Options Indexes FollowSymLinks +IncludesNOEXEC
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.co.uk
RewriteRule ^(.*)$ /Moodle/$1
#Redirects lowercase to uppercase
RedirectMatch 301 domain.co.uk/moodle(.*)
domain.co.uk/Moodle/$1
</IfModule>
# END Moodle
So this is essentially supposed to remove the http:// at the start and move them to www. (Which works)
However the second part, "#Redirects lowercase to uppercase". Isn't actually redirecting them from the directory moodle to Moodle.
Any help?
Thanks