I've managed to get this to work, except that I get /googlesitemap/ in the middle of my category urls. It is basically entering the folders name into the url. I managed to fix this for everything else (my DIR_FS_CATALOG was actually the folder name using SCRIPT_FILE, for some reason it works ok for the usual running of the shop but not here?).
Can anyone tell me where else the code for directing to the root directory is for the creation of the urls? I have looked at and messed about with hrefLink, but this does not contain anything for the root, so I'm assuming it must be somewhere else?
cheers