I would have thought you'd want a 301 redirect to your default language site rather than a URL rewrite, so Google learns your new urls. If you route your old folder structure to a single bit of server side code then it should be pretty simple to manipulate the URL and respond with a 301.
The challenge will be routing only old site urls through to something to create the 301. Maybe you could leave the old site there but change the templates to all run the same function on Page_Init. Alternatively you could route old url paths to an HttpHandler, create Virtual Directories in IIS or something with Umbraco Base. The choice, is yours!
URLRewrite or Custom 404?
I have added multi language support to an existing Umbraco 4.7 site.
root
-sv
--subpages...
-en
-da
All indexed page links on Google points to the old url without the language code and they will be broken
when activating the new structure.
Whats the easiest way to handle this?, does anyone have an working URLRewrite rule?
/Jonas
I would have thought you'd want a 301 redirect to your default language site rather than a URL rewrite, so Google learns your new urls. If you route your old folder structure to a single bit of server side code then it should be pretty simple to manipulate the URL and respond with a 301.
The challenge will be routing only old site urls through to something to create the 301. Maybe you could leave the old site there but change the templates to all run the same function on Page_Init. Alternatively you could route old url paths to an HttpHandler, create Virtual Directories in IIS or something with Umbraco Base. The choice, is yours!
Best of luck!!!
Found the 301 URL Tracker package, it solved my problem! :-)
http://our.umbraco.org/projects/developer-tools/301-url-tracker
is working on a reply...