Server Error in '/' Application.
The model item passed into the dictionary is of type 'Website.Extensions.Models.BasePageViewModel', but this dictionary requires a model item of type 'Website.Extensions.Models.TextPageViewModel'.
Yes that won't work because you don't have route hijacking for the website node, but you can visit the page and you don't get a 404 so that works. Strange that the internal redirect gives a 404.
umbracoInternalRedirectId doesnt work
Hi
I am using umbraco 6.1.6 and have the below structure:
on website node I've umbracoInternalRedirectId field and home page is selected but when I go to my http://localhost:1234/ I get 404 page
any idea why I am getting 404 rather than home page?
Cheers
Ali
Hello,
Does the homepage have a template? If it doesn't it will show a 404 page.
Jeroen
yes it does.
when I go to http://localhost:1234/home I can see the home page but not http://localhost:1234/ :(
one thing, I am using the same technique as Hybrid Framework. all the pages are hijacked so can it because of that?
What if you remove the internal redirect and give the website node a tempalte. Can you visit that?
Jeroen
nope I can't
probably I need to hijack the website node too!
just tried to change the view to have the BasePageViewModel and it works fine.
do I need to have template for website?
Yes that won't work because you don't have route hijacking for the website node, but you can visit the page and you don't get a 404 so that works. Strange that the internal redirect gives a 404.
Jeroen
is working on a reply...