[CODE]<SCRIPT TYPE=”text/javascript”>
<!–
if (parent.location.href == self.location.href) {
if (window.location.replace)
window.location.replace(‘http://www.thedandygroup.com’);
else
// causes problems with back button, but works
window.location.href = ‘http://www.thedandygroup.com’;
}
// –>
</SCRIPT>
Someone gave me this script which is sapposed to make it so when I go to www.thedandygroup.com in my browser it will make it stay as www.thedandygroup.com instead of changing it to www.host123.com/sites/mysite/mypage.html like it is doing now. The only problem is that it has a few bugs like “causes problems with back button, but works” and I also needed it in php so this will work for all users to my site and not just people with javascript enabled. Can someone please help me fix the bugs in it and convert it to php. I would greatly appreciate it. I cannot ask the guy who gave it to me because he does not know php. Thanks for any help. ?