• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Pro Sales Support Pro user: automatic redirection from smugmug to my domain

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #130 (Hot or Cold), Memol..

The next Dgrin Challenge DSS #131 (Music) is open for entries through June 24th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Page 1  of  4
1 2 3 4
Old Oct-12-2006, 04:32 PM
#1
digitalities is offline digitalities OP
Big grins
digitalities's Avatar
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
Old Oct-12-2006, 04:56 PM
#2
devbobo is offline devbobo
technicolored
devbobo's Avatar
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();
Cheers,

David
__________________
David Parry
SmugMug API Developer
My Photos
Old Oct-12-2006, 04:57 PM
#3
Andy is offline Andy
panasonikon
Andy's Avatar
Quote:
Originally Posted by devbobo
Hey Sergio,

yes it is possible, add the code below to your js (and insert ur domain names)...

Code:
 
function redirectPath() { 
  re = /(introversion.smugmug.com)/; 
  tmp = window.location.href; 
  if (re.test(tmp)) { 
    tmp = tmp.replace(re, 'www.introversion.com.au'); 
    window.location.href = tmp; 
  } 
}
redirectPath();
Cheers,

David
I new there was a reason you had all those computers

__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Oct-12-2006, 05:04 PM
#4
Andy is offline Andy
panasonikon
Andy's Avatar
This gets my seal of approval



I have it now on my site.

Try it!

http://williams.smugmug.com
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Oct-12-2006, 05:34 PM
#5
digitalities is offline digitalities OP
Big grins
digitalities's Avatar
Quote:
Originally Posted by devbobo
Hey Sergio,
yes it is possible, add the code below to your js (and insert ur domain names)...
wow!!! Not only a place with great photographers... also great technologists around ;).

Thank you very much!

Sergio
__________________
http://digitalities.smugmug.com
Old Oct-22-2006, 01:02 PM
#6
Diane S is offline Diane S
Big grins
Diane S's Avatar
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."
Old Oct-22-2006, 01:10 PM
#7
Andy is offline Andy
panasonikon
Andy's Avatar
Quote:
Originally Posted by Diane S
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
Diane, it *will* work, we promise. Put the code back so we can trouble shoot you

Oh and it's probably because you have allcaps in your /GALLERY ? Dunno
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Oct-22-2006, 01:16 PM
#8
Diane S is offline Diane S
Big grins
Diane S's Avatar
Quote:
Originally Posted by Andy
Diane, it *will* work, we promise. Put the code back so we can trouble shoot you

Oh and it's probably because you have allcaps in your /GALLERY ? Dunno
okie dokie Andy.. I shall trust the gurus of digital grin... I put the code back in , found at the bottom of the js box. Now, when I'm on my site and I click my gallery tab at the top, it redirects me to the Smugmug home page instead of my galleries. eeekkkkk

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."
Old Oct-22-2006, 01:20 PM
#9
Andy is offline Andy
panasonikon
Andy's Avatar
Quote:
Originally Posted by Diane S
okie dokie Andy.. I shall trust the gurus of digital grin.
One little period... once I deleted the thing in red, you are all set now.



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();
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Oct-22-2006, 01:23 PM
#10
Diane S is offline Diane S
Big grins
Diane S's Avatar
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."
Old Oct-22-2006, 01:34 PM
#11
Andy is offline Andy
panasonikon
Andy's Avatar
Quote:
Originally Posted by Diane S
WOWOWOW you are like lightning speed fast!!
You fixed it... I shall not touch it now....very cool......thanks a bunch!
Avec plaisir, ma cheri
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Oct-22-2006, 01:35 PM
#12
Diane S is offline Diane S
Big grins
Diane S's Avatar
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."
Old Oct-22-2006, 01:37 PM
#13
Andy is offline Andy
panasonikon
Andy's Avatar
Quote:
Originally Posted by Diane S
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
Change your signature line -

www.dianeschaferphotography.com is working fine.

Your regular SmugMug name is

http://dianes.smugmug.com

NOT http://www.dianes.smugmug.com
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Oct-22-2006, 01:55 PM
#14
Diane S is offline Diane S
Big grins
Diane S's Avatar
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."
Old Oct-22-2006, 02:21 PM
#15
Andy is offline Andy
panasonikon
Andy's Avatar
Quote:
Originally Posted by Diane S
Off to the pool.... back soon.
Hope you had a good swim. You simply had your url mistyped, I fixed it for you.
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Oct-22-2006, 02:35 PM
#16
Diane S is offline Diane S
Big grins
Diane S's Avatar
Quote:
Originally Posted by Andy
Hope you had a good swim. You simply had your url mistyped, I fixed it for you.

good grief.. and you do spell check for me too??? AMAZING!! (and I thought I checked that closely) THANKSSSSSSSS... confirms what I said, great tech help and spell check too!!!

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."
Old Oct-22-2006, 02:59 PM
#17
Andy is offline Andy
panasonikon
Andy's Avatar
Quote:
Originally Posted by Diane S
Now ... ummm can you direct me to how I start a BLOG and access it through my smugmug site???
You could try here:

http://www.dgrin.com/showthread.php?...ight=smugpress

__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Dec-12-2006, 02:27 PM
#18
devbobo is offline devbobo
technicolored
devbobo's Avatar
bump. code updated.
__________________
David Parry
SmugMug API Developer
My Photos
Old Dec-12-2006, 07:30 PM
#19
Andy is offline Andy
panasonikon
Andy's Avatar
Quote:
Originally Posted by devbobo
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();
Cheers,

David


__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Dec-12-2006, 07:46 PM
#20
Diane S is offline Diane S
Big grins
Diane S's Avatar
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."
Page 1  of  4
1 2 3 4
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump