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.

  • Yaya 11 posts 31 karma points
    May 07, 2011 @ 17:53
    Yaya
    0

    HELP with 301 in Umbraco 3.

    I need URGENT help:

    I create a new site using umbraco for my client.

    This client had an old web site (not in umbraco) which contained the old urls.

    The old pages are not belong to Umbraco web site . Only the new one.

    Today his domain  redirect to our server (ip).

    Because I have Umbraco v 3.0.5, I couldn't use the Tracker so I implemented a 301 permanent redirect using the url rewriting config.

    When i tried to get into the old url (to check if the 301 is working) i got this error: (this only one example but it happend for all the urls)

    No umbraco document matches the url 'www.apy.co.il/.../askDetails.aspx&hotel=1542'

    its 301 in the rewriting config file looks like this:

    <add name="301xxx_2"
         redirect="Domain"
         ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"
         virtualUrl="http://www.apy.co.il/askDetails.aspx?hotel=1542"
         redirectMode="Permanent"
         destinationUrl="www.apy.co.il/ProviderDetails.aspx?Prvdr=1179" />

    What i did wrong?

  • Stefan Kip 1606 posts 4098 karma points c-trib
    May 07, 2011 @ 18:31
    Stefan Kip
    0

    Offtopic; this topic doesn't belong here...

    First thing you should do is exclude the domain from virtualUrl / destinationUrl. Only include the relative path...
    For more information: http://www.urlrewriting.net/Download.ashx?File=4640f315-27ae-4ab0-8930-6957cfd1f138

  • Yaya 11 posts 31 karma points
    May 07, 2011 @ 18:41
    Yaya
    0

    Hi,

    First, thank you for your reply.

    Sorry. I got this location by searchimg here for "301".

    In which forum I can get your help in this?

  • Yaya 11 posts 31 karma points
    May 07, 2011 @ 20:11
    Yaya
    0

    kipusoep,

    I removed the domain from the virtual and destination urls but it dosn't help.

    The error is the same:

    No umbraco document matches the url 'http://www.apy.co.il/default.aspx?umbPage=/askDetails.aspx&hotel=1542'

    I didn't found any idea in the document you mantion.

    Can you help me?

  • 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