Reputation: 686
I installed the SITECORE REDIRECT MANAGER from the marketplace and I'm trying to create a redirect. It works fine with the "Insert Link" option that points to items inside the tree. However I need to open a external link and it doesn't work. I've tried several external links and I tried to change Sitecore.SharedSource.RedirectManager.UrlValidation configuration but no luck.
Any ideas?
Upvotes: 0
Views: 2246
Reputation: 1173
I'm not sure that the "Sitecore Redirect Manager" supports external URLs.
You may want to look into a different module written by ParTech that does support external links: URL Rewriter.
Upvotes: 1
Reputation: 1126
What is the URL that you are redirecting to? We have several sites that point to other sites not yet on Sitecore and they work, but we had to set it up in the configuration to allow IIS to handle other incoming extensions and I think that you need to allow IIS to handle that for outgoing as well since its generating the link for you... so it makes sense that it might go the other way around too. Here's what we added to one of the patch config files for this type of thing and it works for us.
<preprocessRequest help="Processors should derive from Sitecore.Pipelines.PreprocessRequest.PreprocessRequestProcessor">
<processor type="Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel">
<patch:delete />
</processor>
<processor type="Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel">
<param desc="Allowed extensions (comma separated)">aspx, ashx, asmx, asp, pdf, htm, html</param>
<param desc="Blocked extensions (comma separated)">*</param>
<param desc="Blocked extensions that stream files (comma separated)">*</param>
<param desc="Blocked extensions that do not stream files (comma separated)" />
</processor>
</preprocessRequest>
Upvotes: 2