eflaws
Jul-06-2007, 04:57 PM
Greetings,
I have been busy updating and looking at tuturials to make many changes to my smugmug site for the past two weeks. It's getting closer to what I want it to look like but still have a lot of work to do.
I screwed up a code tonight though. I have been trying to have my domain name www.elliotmflaws.com when typed into the address bar stop changing to www.eflaws.smugmug.com. I have followed the tuturial for the GoDaddy site with creating the CName and everything but I never got it to work.
I found this tuturial
http://www.dgrin.com/showthread.php?p=402384#post402384
thinking this would do the trick and changed what I thought had to be changed. I logged out and when I checked it, the screen goes white and just searches for my site. So, I am not able to access anything, even viewing my site, therfore I cannot delete the code
Here is what I put in the java script box:
function redirectPath() {
re = /(eflaws.smugmug.com)/;
tmp = window.location.href;
if (re.test(tmp)) {
tmp = tmp.replace(re, 'www.elliotmflaws.com');
window.location.href = tmp;
}
}
redirectPath();
Anybody know how I can fix this problem? Your help will be greatly appreciated.
Thank You
Elliot
www.elliotmflaws.com
www.eflaws.smugmug.com
I have been busy updating and looking at tuturials to make many changes to my smugmug site for the past two weeks. It's getting closer to what I want it to look like but still have a lot of work to do.
I screwed up a code tonight though. I have been trying to have my domain name www.elliotmflaws.com when typed into the address bar stop changing to www.eflaws.smugmug.com. I have followed the tuturial for the GoDaddy site with creating the CName and everything but I never got it to work.
I found this tuturial
http://www.dgrin.com/showthread.php?p=402384#post402384
thinking this would do the trick and changed what I thought had to be changed. I logged out and when I checked it, the screen goes white and just searches for my site. So, I am not able to access anything, even viewing my site, therfore I cannot delete the code
Here is what I put in the java script box:
function redirectPath() {
re = /(eflaws.smugmug.com)/;
tmp = window.location.href;
if (re.test(tmp)) {
tmp = tmp.replace(re, 'www.elliotmflaws.com');
window.location.href = tmp;
}
}
redirectPath();
Anybody know how I can fix this problem? Your help will be greatly appreciated.
Thank You
Elliot
www.elliotmflaws.com
www.eflaws.smugmug.com