I believe this script will work only when the website is not is a subfolder.
I believe this script will work only when the website is not is a subfolder.