pro_domain/gallery/ URL bumps to www.smugmug.com

jchinjchin Registered Users Posts: 713 Major grins
edited June 2, 2009 in SmugMug Support
With a Pro account, is it possible that when someone goes to (some_pro_domain)/gallery/ it bumps to their home page and not to www.smugmug.com ?
Johnny J. Chin ~ J. Chin Photography
FacebookFlickrSmugMug
SmugMug referral coupon code: ix3uDyfBU6xXs
(use this for a discount off your SmugMug subscription)

Comments

  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited June 1, 2009
    jchin wrote:
    With a Pro account, is it possible that when someone goes to (some_pro_domain)/gallery/ it bumps to their home page and not to www.smugmug.com ?
    Johnny, I'd love to help you but I don't have enough detail to do so with this question. Can you be much more specific? Thanks!
  • jchinjchin Registered Users Posts: 713 Major grins
    edited June 1, 2009
    Andy wrote:
    Johnny, I'd love to help you but I don't have enough detail to do so with this question. Can you be much more specific? Thanks!

    Pretty much anyone's galleries ...

    http://galleries.jchinphotography.com/gallery/
    or
    http://www.moonriverphotography.com/gallery/
    and you'll end up at
    http://www.smugmug.com/

    This was bought to my attention when my friend visited one of my albums and then decided to just remove the last part of the URL, trying to "browse the directory".

    I think it should have dumped him to http://galleries.jchinphotography.com/ instead of SmugMug's home page.
    Johnny J. Chin ~ J. Chin Photography
    FacebookFlickrSmugMug
    SmugMug referral coupon code: ix3uDyfBU6xXs
    (use this for a discount off your SmugMug subscription)
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited June 1, 2009
    jchin wrote:
    Pretty much anyone's galleries ...

    http://galleries.jchinphotography.com/gallery/
    or
    http://www.moonriverphotography.com/gallery/
    and you'll end up at
    http://www.smugmug.com/

    This was bought to my attention when my friend visited one of my albums and then decided to just remove the last part of the URL, trying to "browse the directory".

    I think it should have dumped him to http://galleries.jchinphotography.com/ instead of SmugMug's home page.
    OK thanks. The structure for CNAMEs doesn't allow for this, I'm sorry :(
  • jchinjchin Registered Users Posts: 713 Major grins
    edited June 1, 2009
    Andy wrote:
    OK thanks. The structure for CNAMEs doesn't allow for this, I'm sorry :(

    Huh??? <img src="https://us.v-cdn.net/6029383/emoji/headscratch.gif&quot; border="0" alt="" >

    What does CNAMEs have to do with HTML redirect code? Why can't the redirect code be simply a redirect to "/" instead of "http://www.smugmug.com&quot; ?

    Something like this in HTML:
    < META HTTP-EQUIV="REFRESH" CONTENT="0; URL=/" >
    

    Or in PHP:
    [php]header("Location: /"); exit;[/php]
    Johnny J. Chin ~ J. Chin Photography
    FacebookFlickrSmugMug
    SmugMug referral coupon code: ix3uDyfBU6xXs
    (use this for a discount off your SmugMug subscription)
  • docwalkerdocwalker Registered Users Posts: 1,867 SmugMug Employee
    edited June 1, 2009
    ETA: this is not CNAME related as far as I can tell.

    I am probably wrong but I thought that was done to prevent people from fishing back through the URL to find your other galleries that may or may not be hidden.

    I know that http://galleries.jchinphotography.com/galleries does work.

    But there is nothing at http://galleries.jchinphotography.com/gallery

    I can ask the guys if it would be possible to put a redirect there back to the main page. I am not sure if this is by design but they will know.
    SmugMug Support Hero
    http://help.smugmug.com
  • cabbeycabbey Registered Users Posts: 1,053 Major grins
    edited June 1, 2009
    jchin wrote:
    With a Pro account, is it possible that when someone goes to (some_pro_domain)/gallery/ it bumps to their home page and not to www.smugmug.com ?

    Yes, this should be fixable, it should really behave the same as the 404 handler imho.

    I'll log it as a bug, thanks for pointing it out to us.
    SmugMug Sorcerer - Engineering Team Champion for Commerce, Finance, Security, and Data Support
    http://wall-art.smugmug.com/
  • docwalkerdocwalker Registered Users Posts: 1,867 SmugMug Employee
    edited June 1, 2009
    Haha...that was the one I was going to ask. Go Cabbey Go...
    SmugMug Support Hero
    http://help.smugmug.com
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited June 1, 2009
    Thanks Cabbey & Doc! I learned a few things here.
  • jchinjchin Registered Users Posts: 713 Major grins
    edited June 1, 2009
    Thanks guys! Once again, SmugMug's the best!
    Johnny J. Chin ~ J. Chin Photography
    FacebookFlickrSmugMug
    SmugMug referral coupon code: ix3uDyfBU6xXs
    (use this for a discount off your SmugMug subscription)
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited June 1, 2009
    cabbey wrote:
    Yes, this should be fixable, it should really behave the same as the 404 handler imho.

    I'll log it as a bug, thanks for pointing it out to us.
    If you let http://xxxxx.com/gallery go to the user's own homepage just like any other name that isn't a category name, then users can redirect it to wherever they wanted with JS scripts like the vanity URL stuff. In other words, http://xxxxx.com/gallery should work just like http://xxxxx.com/foobar or any other word.

    Is that what you mean by the 404 handler? Or were you proposing something different?
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • jchinjchin Registered Users Posts: 713 Major grins
    edited June 2, 2009
    Hey guys ... maybe this can help ...

    I noticed that if you goto http://galleries.jchinphotography.com/share (the base "directory" for ShareGroups) it redirects properly to the custom homepage.

    I think the /gallery should do the same. If this helps you find and maybe use similar code.
    Johnny J. Chin ~ J. Chin Photography
    FacebookFlickrSmugMug
    SmugMug referral coupon code: ix3uDyfBU6xXs
    (use this for a discount off your SmugMug subscription)
  • cabbeycabbey Registered Users Posts: 1,053 Major grins
    edited June 2, 2009
    jfriend wrote:
    In other words, http://xxxxx.com/gallery should work just like http://xxxxx.com/foobar or any other word.

    Is that what you mean by the 404 handler?

    yes.

    /foobar is handled by the 404 handler.

    /gallery is not, because it handles links like /gallery/12345_AbCdE/... but in this case, you're not giving it any data to go by, so it should do the same as the 404 handler and send you to /.
    SmugMug Sorcerer - Engineering Team Champion for Commerce, Finance, Security, and Data Support
    http://wall-art.smugmug.com/
  • cabbeycabbey Registered Users Posts: 1,053 Major grins
    edited June 2, 2009
    jchin wrote:
    Hey guys ... maybe this can help ...

    I noticed that if you goto http://galleries.jchinphotography.com/share (the base "directory" for ShareGroups) it redirects properly to the custom homepage.

    I think the /gallery should do the same. If this helps you find and maybe use similar code.

    Yes, this behavior is why I classified this as a bug and not as a feature request. It's logged in our bug tracker and will get handled at some point. But at the moment we've got a bunch of other stuff we're doing... like electronic payments and packages and coupons and some even more awesome stuff I can't tell ya about. :D Some of our sorcerers grab random little bugs like this to fill in time around big things, so it could get fixed at any point... but it won't get forgotten now that it's in the tracker.
    SmugMug Sorcerer - Engineering Team Champion for Commerce, Finance, Security, and Data Support
    http://wall-art.smugmug.com/
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited June 2, 2009
    cabbey wrote:
    yes.

    /foobar is handled by the 404 handler.

    /gallery is not, because it handles links like /gallery/12345_AbCdE/... but in this case, you're not giving it any data to go by, so it should do the same as the 404 handler and send you to /.
    Cool. Thanks.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
Sign In or Register to comment.