Here is the thing, today I managed to make my CMS Xhtml VALID! W00h00! I got it it works, but only when u save the content and have it check via remote file. I created a nice little function on the site that will stop all header() forwards when a variable is set, this works and all nicely. BUT! since the site is using sessions, php automatically adds &PHPSESSID=whatever at the end of every link. and you can not use regular ampersands (&) in url's. you have to use & is there anyway I can find these ampersands before they are published and replace them with & code? Or better yet is there a way to just get rid of the &PHPSESSID=whatever all together ?