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.

  • hetaurhet 245 posts 267 karma points
    Apr 25, 2013 @ 06:21
    hetaurhet
    0

    301 redirect in multilang site for old site urls

    hi

    just wanted to tell that this is not bug but question. As I am new to this, want to know abt 301 redirection.

    I am multiple language web sites under my content node. My old web sites were normal html pages and were not CMS based. Now, I want to 301 redirect some old pages to umbraco pages. see examples below....

    1) old:  http://mydomain.es/books/bookpage.html ; to new : http://mydomain.es/media/bookpage/

    2) old: http://mydomain.org/article1.html to new: http://mydomain.org/articles/article1/

  • Jan Skovgaard 11242 posts 23390 karma points MVP 6x admin c-trib
    Apr 25, 2013 @ 17:58
    Jan Skovgaard
    0

    Hi Hetaurhet

    The pages you want to 301 redirect to the umbraco pages are they living outside of Umbraco? Could you tell us a bit more about your setup?

    From the explanation above I don't think you can achieve what you want using this package since it only handles umbraco pages - not pages outside of Umbraco.

    Looking forward to hearing more from you.

    /Jan

  • hetaurhet 245 posts 267 karma points
    Apr 26, 2013 @ 07:23
    hetaurhet
    0

    ohh.. these pages are not on umbraco..

  • Dave Woestenborghs 3213 posts 10799 karma points MVP 4x admin c-trib
    Apr 26, 2013 @ 08:16
    Dave Woestenborghs
    0

    You can add mappings from old non umbraco pages with this package. You can do this on the settings section or by adding the 301 redirect datatype to your doctype

  • hetaurhet 245 posts 267 karma points
    Apr 26, 2013 @ 08:17
    hetaurhet
    0

    I have tried the same... but it does not accept my old url. i.e. page with .html extension. in mapping I enter my old url as /article1.html but it is not saving the mapping.

  • Dave Woestenborghs 3213 posts 10799 karma points MVP 4x admin c-trib
    Apr 26, 2013 @ 08:46
    Dave Woestenborghs
    0

    It is working here. Where are you adding the mapping ? In the settings section ?

  • hetaurhet 245 posts 267 karma points
    Apr 26, 2013 @ 09:01
    hetaurhet
    0

    yes... it accepts the custom mapping now... but not able to redirect the page.. it takes the url as /article1.html/   ....

  • Jan Skovgaard 11242 posts 23390 karma points MVP 6x admin c-trib
    Apr 26, 2013 @ 09:02
    Jan Skovgaard
    0

    @Dawoe - can it handle rewrites for requests from another domain?

    @ Hetaurhet - I think it's easier if you perhaps post a screendump of where and how you add the mapping.

    /Jan

  • hetaurhet 245 posts 267 karma points
    Apr 26, 2013 @ 09:04
    hetaurhet
    0

    yes... it accepts the custom mapping now... but not able to redirect the page.. it takes the url as /article1.html/   ....

  • Jan Skovgaard 11242 posts 23390 karma points MVP 6x admin c-trib
    Apr 26, 2013 @ 09:05
    Jan Skovgaard
    0

    So let me get this one straight...the old site exists on another server than the new site?

    /Jan

  • Dave Woestenborghs 3213 posts 10799 karma points MVP 4x admin c-trib
    Apr 26, 2013 @ 09:06
    Dave Woestenborghs
    0

    @ Hetaureth For redirecting html pages you will need to set IIS to handle .html pages by ASP.NET

    @Jan as far as I can see it can't handle external URL's. But why would you want to redirect a URL's from a external domain ?

    Dave

     

  • Dave Woestenborghs 3213 posts 10799 karma points MVP 4x admin c-trib
    Apr 26, 2013 @ 09:11
    Dave Woestenborghs
    0

    @ Jan I think the old site had the same domains as the new site build in Umbraco. Now Hetaureth wants to map the old URL's to the new umbraco pages.

    Dave

  • hetaurhet 245 posts 267 karma points
    Apr 26, 2013 @ 10:10
    hetaurhet
    0

    yes... old site was not umbraco driven and now none of the pages exist of old site

  • hetaurhet 245 posts 267 karma points
    Apr 26, 2013 @ 10:32
    hetaurhet
    0

    how can I set IIS to handle .html pages?

  • Dave Woestenborghs 3213 posts 10799 karma points MVP 4x admin c-trib
    Apr 26, 2013 @ 10:34
Please Sign in or register to post replies

Write your reply to:

Draft