Remove duplicates from loader directories.
Updated handling of subdirectories and redirects.
Updated check for base_url.
Added section about configuration values.