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.
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.
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!
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
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" />
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
Sorry accidentally marked this as answer, please visit above comment by Jan.
is working on a reply...