For a few days I got a problem I can´t seemed to figure out..
I redirected my domain ´www.site1.com´ to the ´www.site1.com/site1´ folder.
Redirecting works perfectly, but Umbraco itself is using the wrong ´root-URL´. Both menu links, as backend are still referring to ´www.site1.com/site1´. Offcourse as the domain as been redirected, it gives a huge .404 error as Umbraco can´t find ´www.site1.com/site1/site1´.
How can I make clear for Umbraco to use ´www.site1.com´ as website root and not ´www.site1.com/site1´?
I´ve tried managed hostnames en domainprefix settings, but nothing helped..
I using IIS to redirect the domain: ´www.site1.com´ redirects to -> ´~/site1´
Within Umbraco I entered ´www.site1.com´ als domain, but it didn´t changed anything. It was still giving me ´www.site1.com/site1/xxx´ as url in the menu and on other places.
I don´t have access to IIS as the site is hosted by an external company. But I saw the webmanager I´m using to create the redirects enters it´s values in a *.ini for the [ISAPI_Rewrite].
How to use Url alias?
For a few days I got a problem I can´t seemed to figure out..
I redirected my domain ´www.site1.com´ to the ´www.site1.com/site1´ folder.
Redirecting works perfectly, but Umbraco itself is using the wrong ´root-URL´. Both menu links, as backend are still referring to ´www.site1.com/site1´. Offcourse as the domain as been redirected, it gives a huge .404 error as Umbraco can´t find ´www.site1.com/site1/site1´.
How can I make clear for Umbraco to use ´www.site1.com´ as website root and not ´www.site1.com/site1´?
I´ve tried managed hostnames en domainprefix settings, but nothing helped..
Hi Joel
How did you setup the redirect? Did you use umbracoRedirect to do it or did you do it in IIS or?
And what did you enter in manage hostnames in Umbraco? And what have you entered in IIS?
/Jan
Hi Jan,
I using IIS to redirect the domain: ´www.site1.com´ redirects to -> ´~/site1´
Within Umbraco I entered ´www.site1.com´ als domain, but it didn´t changed anything. It was still giving me ´www.site1.com/site1/xxx´ as url in the menu and on other places.
I don´t have access to IIS as the site is hosted by an external company. But I saw the webmanager I´m using to create the redirects enters it´s values in a *.ini for the [ISAPI_Rewrite].
is working on a reply...