PDA

View Full Version : Need Help: Can't get to my site


gman33
Nov-22-2007, 05:39 AM
Hi All

I had my hosting provider setup my CNAME and A name a couple of weeks ago and after some playing around with some ideas, decided I would use my domain as a starting point instead.

But in between the removal of the CNAME and A name, I added the javascript that helps maintain your domain name throughout your smugmug travels. I am not sure if this is causing me troubles now because when I go to my ergpgoto.smugmug.com site, it automatically goes back to my domain

Could one of the gurus go in an remove this javascript code for me? It is the last part of my code

Thank you for the help:thumb

Ed

Andy
Nov-22-2007, 05:45 AM
Hi Ed,

I removed this:


function redirectPath() {
re = /((www.)?ergphoto.smugmug.com)/;
tmp = window.location.href;
if (re.test(tmp)) {
tmp = tmp.replace(re, 'www.ergphoto.com');
window.location.href = tmp;
}
}
redirectPath();


You should be all set now :thumb Happy Thanksgiving!

gman33
Nov-22-2007, 06:10 AM
YOU ROCK!!!!! Thank you Andy...have a fantastic Thanksgiving!!!! :ivar

Ed