Copied to clipboard

Flag this post as spam?

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


  • Santosh 7 posts 84 karma points
    Jan 09, 2015 @ 11:39
    Santosh
    0

    URL rewriting

    Hi There,

    I am trying to add rewrites 

    My current URL http://mydomain/category/page-name/

    I am trying to keep existing site urls functioning with below URL

    http://mydomain/category/page-name.htm

    Any help appreciated.

    Thanks!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 09, 2015 @ 11:42
    Jan Skovgaard
    0

    Hi Santosh

    What does your current rewrite sentence look like? And are you writing it in the /config/UrlRewriting.config file?

    And is it in general that you need to be able to serve the pages as .htm?

    /Jan

  • Santosh 7 posts 84 karma points
    Jan 09, 2015 @ 11:46
    Santosh
    0

    Thanks Jan for reply

    My current site has some 3000 pages and I am planning to import with current structure and create content but want to keep previous urls so that site wont break with internal links.

     <add name="some_name"

                   redirect="Domain"

                   ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"

                   virtualUrl="~/(.*)"

                   redirectMode="Permanent"

                   destinationUrl="~/$1.htm" />

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 09, 2015 @ 11:57
    Jan Skovgaard
    1

    Hi Santosh

    Ok, then I think you should probably consider using the 301 url tracker package for this http://our.umbraco.org/projects/developer-tools/301-url-tracker

    Another option could be the SEO checker package by Richard Soeteman - But be aware that it's a commercial package http://soetemansoftware.nl/seo-checker

    Instead of trying to rewrite the url's then instead let the hits for the .htm based page be redirected to the new url.

    Hope this makes sense.

    /Jan

  • Santosh 7 posts 84 karma points
    Jan 09, 2015 @ 12:03
    Santosh
    100

    Sorry accidentally marked this as answer, please visit above comment by Jan.

Please Sign in or register to post replies

Write your reply to:

Draft