Copied to clipboard

Flag this post as spam?

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


  • Mark Bateman 4 posts 24 karma points
    Feb 08, 2012 @ 11:37
    Mark Bateman
    0

    301 Re-directs with query strings

    Apoloiges in advance if this has been answered times many - I've searched, and although there are quite a few posts on 301 re-directs, I'm unable to find one that covers the idea of query strings.

    Okay, so I've looked into using UrlRewritingNet that ships with Umbraco to perform the re-directs - but then discovered there are several plug-ins that "may" handle the same issue.

    Which (if any) plug-in is able to handle the following example of a re-direct?

    /?OBH=302 redirected to /contact-us.aspx

    Some instances there are also query strings such as...

    /?OBH=108&ID=319&OBT=1

    Is the plug-in able to handle such complex query strings?

    Many thanks, Mark.

     

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Feb 08, 2012 @ 12:15
    Stefan Kip
    0

    I think my 301 URL Tracker package is the right tool for the job for you.

  • Mark Bateman 4 posts 24 karma points
    Feb 08, 2012 @ 13:57
    Mark Bateman
    0

    Hi there.

    Funnily enough I just found your plug-in and have it installed - although I'm struggling some what when it comes to getting the query strings working. I've very little experience when it comes to RegEx and as such I've no idea as to what needs to be entered!

    Would there be any chance of you pointing me in the right direction with the previous example of /?OBH=302 then re-directing to a page within the Umbraco site? I've a list of around thirty or so of this kind of URL each with their own integer added as part of the query.

    Any help or advice would be very much appreciated.

    Kind regards, Mark.

     

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Feb 08, 2012 @ 13:59
    Stefan Kip
    0

    Ah sorry, I should've read better...
    You don't need RegEx, you could just enter /some-url/foobar/. Problem is; you're talking about /?some-param. The url '/' is the homepage which does exist and for the 301 URL Tracker to work, the url itself should not exist...

    Sorry again. 

  • Mark Bateman 4 posts 24 karma points
    Feb 08, 2012 @ 14:47
    Mark Bateman
    0

    Would I be right in thinking 301 URL Tracker won't work?

     

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Feb 08, 2012 @ 15:03
    Stefan Kip
    0

    Unfortunately yes

  • Mark Bateman 4 posts 24 karma points
    Feb 08, 2012 @ 15:05
    Mark Bateman
    0

    No worries, many thanks all the same. :-)

Please Sign in or register to post replies

Write your reply to:

Draft