> Forums > Active Forums > Feedback and Requests > ENH: Super easy 'vanity' urls for topics that works on IIS6
Last Post 17 Feb 2011 03:17 PM by Larry. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
NFXBeats
Customers
NFXBeats
Post Count:299

--
17 Feb 2011 01:49 PM
    • Type of Feedback: Something to think about
    Since vanity urls for forums requires IIS7, I propose a low tech method that will work for those of us on IIS6.

    Simply change the URL structure a bit. Currently a topic URL looks like this:

    /Forums/aft/3298

    just add / + URLFriendly(topictitle) so that it looks like this:

    /Forums/aft/3298/topic-title-goes-here

    the current AF will use this properly without any code changes - at least it works on my site. All you need to do is make sure that links to the topic get the new, URL friendly title text appended. Presumably you already have a function to do this for the IIS7 handler.

    So while it keeps the "aft/####" in the url, it is very SEO friendly with the nice topic text following after. This is a win win all around I think.

    P.S.> Even anchor tags should work when appended ie: /Forums/aft/3298/track-share-update#3345



    Status: I'm no longer moderated.
    Larry
    Customers
    Larry
    Post Count:116

    --
    17 Feb 2011 03:17 PM
    Sounds like a great idea! I love the KISS principle.
    You are not authorized to post a reply.
    > Forums > Active Forums > Feedback and Requests > ENH: Super easy 'vanity' urls for topics that works on IIS6
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy