|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Pro user: automatic redirection from smugmug to my domain
Hello,
as I was really satisfied with my smugmug account, I upgraded to Pro. I'm using google anaylitics to keep track of my visitors. Having upgraded, I've configured my own domain so that now my pages are also reachable via photo.digitalities.com. My problem now is the unification of traffic statistics and it seems that the only way is to have one site redirected to the other: https://www.google.com/support/analy...y?answer=45482 Is it possible to enable that any URL in the form of: digitalities.smugmug.com/somepath get redirected to photo.digitalities.com/somepath ? I guess this is technically possible (at least via javascript). There is any concern on such an action? Thanks, Sergio
__________________
http://digitalities.smugmug.com |
|
|
|
|
#2
|
|
|
technicolored
|
Hey Sergio,
yes it is possible, add the code below to your js (and insert ur domain names)... Updated: Now supports both nickname.smugmug.com and www.nickname.smugmug.com Code:
function redirectPath() {
re = /((www.)?introversion.smugmug.com)/;
tmp = window.location.href;
if (re.test(tmp)) {
tmp = tmp.replace(re, 'www.introversion.com.au');
window.location.href = tmp;
}
}
redirectPath();
David |
|
|
|
|
#3
|
||
|
panasonikon
|
Quote:
|
|
|
|
||
|
#4
|
|
|
panasonikon
|
|
|
|
|
|
#5
|
||
|
Big grins
|
Quote:
Thank you very much! Sergio
__________________
http://digitalities.smugmug.com |
|
|
|
||
|
#6
|
|
|
Big grins
|
Didn't work for my GALLERY page.
hmmm I tried this code in my JS , but when I tested it.. and clicked my GALLERY tab, it redirected me to the smugmug homepage, instead of my galleries. I have removed it from my customization for now, until I figure out what I've done wrong.
thanks, Diane www.dianeschaferphotography.com
__________________
~~~~~~~~~~~~~~~~~~~~~~ http://www.dianeschafer.com "Life is not measured by the breaths we take, but by the moments that take our breath away." |
|
|
|
|
#7
|
||
|
panasonikon
|
Quote:
![]() Oh and it's probably because you have allcaps in your /GALLERY ? Dunno
|
|
|
|
||
|
#8
|
||
|
Big grins
|
Quote:
![]() www.dianeschaferphotography.com oh dear...now when I click the link below www.dianes.smugmug.com it redirects me back to GoDaddy, my web host site.
__________________
~~~~~~~~~~~~~~~~~~~~~~ http://www.dianeschafer.com "Life is not measured by the breaths we take, but by the moments that take our breath away." |
|
|
|
||
|
#9
|
||
|
panasonikon
|
Quote:
function redirectPath() { re = /(dianes.smugmug.com)/; tmp = window.location.href; if (re.test(tmp)) { tmp = tmp.replace(re, 'www.dianeschaferphotography.com.'); window.location.href = tmp; } } redirectPath(); |
|
|
|
||
|
#10
|
|
|
Big grins
|
WOWOWOW you are like lightning speed fast!!
You fixed it... I shall not touch it now....very cool......thanks a bunch!
__________________
~~~~~~~~~~~~~~~~~~~~~~ http://www.dianeschafer.com "Life is not measured by the breaths we take, but by the moments that take our breath away." |
|
|
|
|
#11
|
||
|
panasonikon
|
Quote:
|
|
|
|
||
|
#12
|
|
|
Big grins
|
Andy, Just one more thing...
when I click my url website address as seen in my signature below.. it redirects to GoDaddy, my host for my domain name. Not a biggie problem, cause, when I put my address in the browser window, it goes to my correct homepage via (smugmug), which is what I need for clients. thanks Diane
__________________
~~~~~~~~~~~~~~~~~~~~~~ http://www.dianeschafer.com "Life is not measured by the breaths we take, but by the moments that take our breath away." |
|
|
|
|
#13
|
||
|
panasonikon
|
Quote:
www.dianeschaferphotography.com is working fine. Your regular SmugMug name is http://dianes.smugmug.com NOT http://www.dianes.smugmug.com
|
|
|
|
||
|
#14
|
|
|
Big grins
|
Just color me DUH......
![]() Ok.. I changed my signature to the dianes.smugmug.com... but when I click my signature address, it still directs me to my host... does it have to do with I originally had smugmug redirected to my host domain name on GoDaddy before I added this new code.. all I was trying to achieve with this new code is change my gallery/client addresses from the dianes.smugmug/gallery### to my website name dianeschaferphotography.com/gallery####. I'm probably not making sense. ![]() I think I will go jump in the pool and clear my cobwebs... I must say however, digital grin's constant willingness to help and show me the way with web stuff that scares the $%^$ out of me, and the great customization ability... is the reason I renewed my pro account.. I applaud all the tech help and gurus of smugmug and Dgrin... ![]() ![]() Off to the pool.... back soon.
__________________
~~~~~~~~~~~~~~~~~~~~~~ http://www.dianeschafer.com "Life is not measured by the breaths we take, but by the moments that take our breath away." |
|
|
|
|
#15
|
||
|
panasonikon
|
Quote:
|
|
|
|
||
|
#16
|
||
|
Big grins
|
Quote:
good grief.. and you do spell check for me too??? AMAZING!! yup, swim was what I needed.. and the water was great...some of the advantages of Florida in October...if you ignore Hurricane season. Now ... ummm can you direct me to how I start a BLOG and access it through my smugmug site??? I'm sure you have the answers to all that somewhere here in the hallowed halls of digital grin. Thanks Andy.. you're the best.
__________________
~~~~~~~~~~~~~~~~~~~~~~ http://www.dianeschafer.com "Life is not measured by the breaths we take, but by the moments that take our breath away." |
|
|
|
||
|
#17
|
||
|
panasonikon
|
Quote:
http://www.dgrin.com/showthread.php?...ight=smugpress
|
|
|
|
||
|
#18
|
|
|
technicolored
|
bump. code updated.
|
|
|
|
|
#19
|
||
|
panasonikon
|
Quote:
|
|
|
|
||
|
#20
|
|
|
Big grins
|
Thanks Dev.... cool stuff.. always sumpin' going on around here!
![]()
__________________
~~~~~~~~~~~~~~~~~~~~~~ http://www.dianeschafer.com "Life is not measured by the breaths we take, but by the moments that take our breath away." |
|
|
|
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|