The rewrite would fail with a 404 not found error
As stated earlier, two redirect rules will cause a loop. I've been at this the whole day now. Any help is appreciated.
I believe creating a subdomain specifically for logging in to the backoffice is our only practical solution for now. Changing paths and some other voodoo is a no-go for me because I want site upgrades to be easy. I posted the subdomain solution I did on another thread
URL Rewrite
Hi everyone, trying to write a simple url redirect, but failing. What is wrong with this code,
Try this:
You don't really need the http://localhost/ part unless you only want to match on localhost. Using
^
matches the start of the path.Add the
http(s)
protocol to your redirect if it's an external URL.Thanks Dan, how can I redirect to the umbraco admin page. both rules redirect to the home page lol. thanks for your help.
I have this problem as well. Trying to restrict access to the backoffice using the default
http://your-host/umbraco/
I tried the redirect trick like this but it will loop back to the home page or whatever page you redirected the match url=^umbraco.
Rewriting also does not work mainly because I don't know the actual file that the server should serve
The rewrite would fail with a 404 not found error As stated earlier, two redirect rules will cause a loop. I've been at this the whole day now. Any help is appreciated.
Thanks!
I believe creating a subdomain specifically for logging in to the backoffice is our only practical solution for now. Changing paths and some other voodoo is a no-go for me because I want site upgrades to be easy. I posted the subdomain solution I did on another thread
Just in case anyone stumbles into this :)
is working on a reply...