Open jdbosley opened 6 years ago
To provide more details:
When I directly click on the link I get this error
System.Web.HttpException (0x80004005): The controller for path '/Views/Admin/RedirectManager' was not found or does not implement IController.
I implemented IController on the Controllers > Misc > HttpErrorPageController class and still get a 404 though
public class HttpErrorPageController : Controller, IController
I had the same issue. In the event you are still waiting for a solution, I ended up adding a controller and a MapRoute for the RedirectManager and change it to a normal MVC view with a null layout.
Thanks, I ended up going with a different redirect manager but this is good to know.
are there other managers out there as well? ;)
Sort of, it's technically a 404 handler but has redirect functionality. The only catch is that it can't redirect an existing CMS page or file in the file system. It only can handle redirects that would have gone to the 404 page otherwise. But Episerver has built-in shortcut functionality to redirect CMS pages, so it fit our requirements. It does have a cool feature where it records what URLs are hitting the 404 page and suggests redirects.
sorry, I was just trolling.. :)
OK... Unless you developed one or the other I fail to see the trolling part, but no biggie. Troll on.
For future ref, you have to activate "webpages" in appsettings, default it is set to false
<add key="webpages:Version" value="3.0.0.0" />
<!--Used by Redirect Manager-->
<add key="webpages:Enabled" value="true" />
I am somewhat new to Episerver, so this may be user error. But I added the files to my project and built it, the link shows up in the admin but the page 404s when I click on it. I am on Episerver 7.5 in a DXC environment, maybe that is the problem.
Any idea of what is going wrong?