Changed index setting so it can handle sites in a subdirectory (replace slashes).