Ah, so that is the case? Yes, there is a working page there today so this it why it is not working I guess.
I tried a fake URL but that does not seem to work either.
And I actually see and exception on the current page, but I guess the redirect should occur before the page is rendered?
Value cannot be null.
Parameter name: key
System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Concurrent.ConcurrentDictionary2.TryGetValue(TKey key, TValue& value) at Litium.FieldFramework.FieldDataContainer.TryGetValue(String culture, String id, Object& value) at Litium.FieldFramework.FieldContainer.GetValue[T](String id) at Litium.Foundation.Modules.Products.WebControls.CategoryMenu.RenderChildren(List1 productGroups, Dictionary`2 productGroupTable, HtmlTextWriter writer, Int32 level)
at Litium.Foundation.Modules.Products.WebControls.CategoryMenu.RenderContents(HtmlTextWriter writer)
Yes, if there’s any content (page, category, product) at the URL the redirect won’t trigger. The URLs should be entered relative (/test -> /redirect).
I believe any URL history redirects are executed before, so if you’ve changed the URL of an entity (say from test to test2) that could get in the way of your redirect.
Not sure what you error is or where it comes from.
Sorry, seems I wasn’t correct. You can add with domain, but without the protocol. The URL you redirect to can also include domain, but then also the protocol, or relative.
So litium.localtest.me/test can go to https://litium.localtest.me/redirect or just /redirect
Nils, there is no bulit in way to redirect an existing working page? It is quite easy to built something but not necessary to do if something exists.
Thanks!