> Forums > Active Social > Feedback and Requests > ENH: Redirecting to vanity urls
Last Post 12 Mar 2011 05:44 PM by Paul. 20 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Matt Marlor
Customers
Matt Marlor
Post Count:375

--
02 Aug 2010 12:29 PM
    Hiya,

    Just bought and installed the fatgeorge Users Online module for its AS integration.

    I note that fguo isn't "vanity URL aware" and have requested this in their forums; however it also made me think because Active Forums also doesn't use the vanity URL when linking to a user profile.

    Ideally for SEO purposes, you want the vanity URL to be the 'only' URL for a user or group profile. Any other valid URL would have a 301 redirect to the vanity URL.

    Currently on our site, between AF and fguo, there are 3 possible URLs for a user profile;

    /Social/tabid/85/asuid/3/Default.aspx (URL generated by fguo)
    /social/asuid/3 (URL generated by AF, in concert with URL Master)
    /social/matt-marlor

    Google in particular is known to penalise for duplication of content - in this case, there'd be 3 pages with the same content for each user.

    If the first 2 returned a 301 redirect to the vanity URL, though, this would not be an issue.

    Cheers,

    Matt
    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    MHuijbregts
    Customers
    MHuijbregts
    Post Count:1248

    --
    04 Aug 2010 03:49 AM
    +1

    I noticed this behavior as well and hope that the 301 could be included by default to the vanity URL. Furthermore, I hope that the vanity URL through Active Forums could be the first step (in case going all the way at once is too big of a step at this moment)
    Regards,
    Marc
    www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social)
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:387

    --
    04 Aug 2010 07:04 PM
    I think this: http://www.activemodules.com/Commun...fault.aspx would be the answer to some of the issues, but where there is only a link desired for the profile, yes, +2.

    I haven't had a chance yet to mess around with the profile controls much.
    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:387

    --
    04 Aug 2010 10:40 PM
    I also just noticed the same behavior in AS messaging, IE: message details.
    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Cliff Hammock
    Customers
    Cliff Hammock
    Post Count:667

    --
    06 Aug 2010 09:49 AM
    I have both URL Master and Vamity URLs turned on for AS 1.7.3 on DNN 5.4.4. If someone types in http://domain.com/members/my-name without the www. I need it to rewrite to http://www.domain.com/members/my-name with the www. Since it is not rewriting for members or groups I am getting this http://www.domain.com/default.aspx?...4&asuid=11

    Does anyone have ideas on how to handle this. Right now URL Master is just ignoring my /members/ and /groups/ urls. But I still need the 301 to get my urls to have the www. for canonicalization.
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    06 Aug 2010 09:55 AM
    Posted By Cliff Hammock on 06 Aug 2010 10:49 AM
    I have both URL Master and Vamity URLs turned on for AS 1.7.3 on DNN 5.4.4. If someone types in http://domain.com/members/my-name without the www. I need it to rewrite to http://www.domain.com/members/my-name with the www. Since it is not rewriting for members or groups I am getting this http://www.domain.com/default.aspx?...4&asuid=11

    Does anyone have ideas on how to handle this. Right now URL Master is just ignoring my /members/ and /groups/ urls. But I still need the 301 to get my urls to have the www. for canonicalization.
    Cliff,
    This particular thread is about an enhancement request.  It would be better if you created a new topic in the Customization forum.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Matt Marlor
    Customers
    Matt Marlor
    Post Count:375

    --
    06 Aug 2010 10:05 AM
    I've created a thread in the Customization forum for Cliff's problem.
    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    fatgeorge
    Customers
    fatgeorge
    Post Count:291

    --
    06 Aug 2010 10:08 AM
    Just to let you know that the latest release (v1.5) of the fatgeorge UsersOnline module is now vanity url aware.

    It will also display the MiniProfile popup that you see in the Who is online at the bottom of this page.

    Take a look at it action at http://www.fatgeorge.co.uk/community.aspx
    Matt Marlor
    Customers
    Matt Marlor
    Post Count:375

    --
    11 Aug 2010 10:24 AM
    Tried enabling the MiniProfile popup today with fatgeorge. It turned out that it made the pages quite 'heavy' or cumbersome :-(

    I reckon if there was just an "Add as Friend" button I would be happy, sans popup.
    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    Matt Marlor
    Customers
    Matt Marlor
    Post Count:375

    --
    11 Aug 2010 10:26 AM
    Also worth noting that I've started using the asuid/[userid] format to return profiles myself. I'd really love an inbuilt 301 redirect and/or a native way to return the friendly URL anywhere on the site (appreciate that this would be trickier).
    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    11 Aug 2010 10:38 AM
    Tried enabling the MiniProfile popup today with fatgeorge. It turned out that it made the pages quite 'heavy' or cumbersome :-(

    I reckon if there was just an "Add as Friend" button I would be happy, sans popup.

    Matt,
    Can you elaborate a little more on this one? I would like to understand what made it heavy and cumbersome. Might be worth creating a new topic if it's something we can improve.

    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    11 Aug 2010 10:41 AM
    Currently on our site, between AF and fguo, there are 3 possible URLs for a user profile;

    /Social/tabid/85/asuid/3/Default.aspx (URL generated by fguo)
    /social/asuid/3 (URL generated by AF, in concert with URL Master)
    /social/matt-marlor

    Google in particular is known to penalise for duplication of content - in this case, there'd be 3 pages with the same content for each user.

    If the first 2 returned a 301 redirect to the vanity URL, though, this would not be an issue.

    We will add an option to intercept any requests that contain asuid and 301 redirect to the proper vanity URL. I'll see if I can work it into 1.8, but it might have to wait for the next patch release.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Matt Marlor
    Customers
    Matt Marlor
    Post Count:375

    --
    11 Aug 2010 10:46 AM
    Posted By Will Morgenweck on 11 Aug 2010 11:41 AM
    Currently on our site, between AF and fguo, there are 3 possible URLs for a user profile;

    /Social/tabid/85/asuid/3/Default.aspx (URL generated by fguo)
    /social/asuid/3 (URL generated by AF, in concert with URL Master)
    /social/matt-marlor

    Google in particular is known to penalise for duplication of content - in this case, there'd be 3 pages with the same content for each user.

    If the first 2 returned a 301 redirect to the vanity URL, though, this would not be an issue.

    We will add an option to intercept any requests that contain asuid and 301 redirect to the proper vanity URL. I'll see if I can work it into 1.8, but it might have to wait for the next patch release.

    Awesome Will - happy to wait if needed, appreciate the consideration
    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    Matt Marlor
    Customers
    Matt Marlor
    Post Count:375

    --
    11 Aug 2010 10:53 AM
    Posted By Will Morgenweck on 11 Aug 2010 11:38 AM
    Tried enabling the MiniProfile popup today with fatgeorge. It turned out that it made the pages quite 'heavy' or cumbersome :-(

    I reckon if there was just an "Add as Friend" button I would be happy, sans popup.

    Matt,
    Can you elaborate a little more on this one? I would like to understand what made it heavy and cumbersome. Might be worth creating a new topic if it's something we can improve.



    To be honest I didn't put as much attention into it as I might normally have - I added an ActiveSocial module instance with a blank (literally just a line break - sorry, tried to show the code first, lol), and set to display all pages on the site. Then enabled the fguo option to use the popup.

    After noting the site was a bit sluggish through the day, and seeing similar feedback a couple of other users, I disabled the option, removed the blank AS module, and all was well again.

    I would say it more or less doubled page load times on the site. I've been prepared to put it down to something as simple as a conflict of jquery versions (since there's so many in various modules) or the skin we're using. I don't have an issue with performance accessing the ActiveModules site, so I wasn't too worried. The only thing I really miss is the 'pretty' message box popup, and I wanted a way to put an 'add friend' box for each user in fguo :-)
    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    fatgeorge
    Customers
    fatgeorge
    Post Count:291

    --
    11 Aug 2010 11:02 AM
    Matt, I will add some more options in to allow more configuration.

    e.g. message popup and 'Add as friend' without miniprofile popup.
    Matt Marlor
    Customers
    Matt Marlor
    Post Count:375

    --
    11 Aug 2010 11:05 AM
    Thanks mate - I wouldn't mention, except I'm generally thrilled with the interaction of fguo with AS :-)
    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    11 Aug 2010 11:12 AM
    Matt, I will add some more options in to allow more configuration.

    e.g. message popup and 'Add as friend' without miniprofile popup.

    Tony,
    Are you doing anything different than what we have documented?

    I do know that Internet Explorer doesn't like our javascript transitions at all. I think we have those disabled for 1.8.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    fatgeorge
    Customers
    fatgeorge
    Post Count:291

    --
    11 Aug 2010 11:26 AM
    No, all I have done is to add the client api script to display the miniprofile.

    On my site I have added the client api call for Add as friend to the miniprofile, this is not ideal as it doesn't check to see if you are already friends or not.
    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1331

    --
    12 Aug 2010 01:43 AM
    Posted By fatgeorge on 11 Aug 2010 12:26 PM
    No, all I have done is to add the client api script to display the miniprofile.

    On my site I have added the client api call for Add as friend to the miniprofile, this is not ideal as it doesn't check to see if you are already friends or not.

    Fatgeorge,

    What happened to the horizontal template in your users online module?
    I am using the latest AS/AF/DNN available.
    Thanks.
    fatgeorge
    Customers
    fatgeorge
    Post Count:291

    --
    12 Aug 2010 03:00 AM
    It didn't make it into the install package, I will post it in the templates forum at fatgeorge.co.uk.
    Paul
    Customers
    Paul
    Post Count:9

    --
    12 Mar 2011 05:44 PM
    Posted By Matt Marlor on 11 Aug 2010 11:26 AM
    Also worth noting that I've started using the asuid/[userid] format to return profiles myself. I'd really love an inbuilt 301 redirect and/or a native way to return the friendly URL anywhere on the site (appreciate that this would be trickier).


    I am going in circles trying to get miniprofile to work. I want to take a parameter (userid) passed in by the URL and get the as profile details, display them and create links back to the main profile. I have tried several attempts reading some of the posts, one suggested you can't get the userid from the URL so I am a bit lost. Any chance someone could do a step by step on using the miniprofile based on keywords=values from the URL? note: the userid being passed in does not come from an AS page, it comes from DNN - if this makes a difference.
    You are not authorized to post a reply.
    > Forums > Active Social > Feedback and Requests > ENH: Redirecting to vanity urls
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy