Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


This forum does not allow new topics to be created, please use the v2 forum from now on.

  • Kim Hansen 63 posts 144 karma points
    Nov 26, 2010 @ 01:59
    Kim Hansen
    0

    301 redirect

    Hi

    Is it possible to use 301 URL tracker to make a 301 redirect on non-existning pages?

    Lets say ive made a new website for a customer, and they had at site where the pages were like this; www.somesite.com/default.asp?id=1234 and i want that URL to point to eg. my new frontpage (www.somesite.com/frontpage.aspx)

     

    Thanks

    Kim

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Nov 26, 2010 @ 10:29
    Stefan Kip
    0

    I could, but I don't see the point in creating a manual redirect while there is no node with the target url (/frontpage.aspx)...

    Could you elaborate a bit more on this?

  • Kim Hansen 63 posts 144 karma points
    Nov 26, 2010 @ 10:33
    Kim Hansen
    0

    It might just be me not understanding the purpose/features of the package as it is right now :)

    My question is:

    Is it possible to make 301 URL Tracker redirect from an old URL on a old CMS to a new existing one on Umbraco.

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Nov 26, 2010 @ 10:48
    Stefan Kip
    0

    Yes, that's the whole purpose of the 301 URL Tracker ;-) I'll explain:

    - Say you have this old site (somesite.com)
    - You have a page calles '/cars.aspx'
    - You're now using umbraco with directoryUrls on
    - The new url is '/cars'
    - If you visit '/cars.aspx' you will get a 404 page from umbraco
    - Now you should create a URL Mapping with the 301 URL Tracker on the node 'Cars' and say the old url is 'cars.aspx'
    - From now on '/cars.aspx' will redirect to '/cars'

    Hope that makes things a bit more clear :-)
    If you have any questions left, don't hesitate to ask!

  • Kim Hansen 63 posts 144 karma points
    Nov 26, 2010 @ 10:54
    Kim Hansen
    0

    Perfect, thats how i hoped it would work :)

    How about other extentions than .aspx, is that supported? And parameters eg. index.asp?id=1234 ?

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Nov 26, 2010 @ 11:04
    Stefan Kip
    0

    Every extension (or extension-less; a.k.a. directory urls) is supported, as long as you configure IIS the right way to map requests with the specific extension to .NET...
    QueryString parameters are not supported yet, but I'll look into it next week :-)

  • Kim Hansen 63 posts 144 karma points
    Nov 26, 2010 @ 21:01
    Kim Hansen
    0

    Sounds great :)

    As far as i know a lot of the older sites on Content management systems are using parameters, so it would be a great thing to have on your package.

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Dec 07, 2010 @ 00:07
    Stefan Kip
    0

    Just released version 1.3, with:

    - Querystring support
    - 'umbracoUrlName' support
    - And a multi-site support bugfix

    If it suits your suggestion, please mark this thread as 'solved' :-) Thanks!

  • Kim Hansen 63 posts 144 karma points
    Dec 07, 2010 @ 08:36
    Kim Hansen
    0

    Perfect! Thank you

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies