Removing double slashes, 404 link made flexible