Questions tagged [redirect]

For questions related to redirects in Sitecore, covering native redirects configuration and functionality, customization, programmatic redirects as part of page functionality, and other redirect-related questions

Filter by
Sorted by
Tagged with
0
votes
1answer
74 views

Writing an IIS rewrite rule for the Sitecore control panel URL

If I try to access http://mydomain.com/sitecore I get a 403 error. I would instead prefer for IIS to automatically redirect to https://mydomain.com/sitecore. I added the following rule in ...
2
votes
2answers
93 views

HTTPS to HTTPS 301 redirect for whole domain?

We have a Sitecore.NET 8.1 (rev. 160519) installation running IIS (version 8.5.9600.16384) Our instance runs roughly 600 websites and we often have clients that switch their domain name after already ...
0
votes
1answer
51 views

Sitecore.Web.WebUtil.Redirect not working with Ajax call

I have an Sitecore app (9.0.2) MVC application, in which I send to the Controller a FormCollection object, with an Ajax call (because I create dynamically tabs with in View). On the Controller, I ...
1
vote
1answer
252 views

301 Redirect Module compatability with Sitecore 9

the 301 Redirect Module doesn't say that it supports Sitecore 9 https://marketplace.sitecore.net/Modules/3/301_Redirect_module.aspx?sc_lang=en Has anyone tried setting it up in Sitecore 9 and were ...
2
votes
0answers
148 views

Language specific redirects with UrlRewrite sitecore module

I've done alot of looking around but I can't seem to find the answer to an issue I am facing. Is it possible to use the UrlRewrite module from the Sitecore marketplace to perform language specific ...
0
votes
1answer
141 views

How to implement a Reverse Proxy in Sitecore? [duplicate]

I have a Sitecore URL (wwww.abc.com/home/legend). I want to call a different URL when this URL is called. Suppose, I have URL A - wwww.abc.com/home/legend (Sitecore One) URL B - www.xyz.com/hello.php ...
0
votes
2answers
296 views

Redirect URL A to URL B

I want to redirect one URL to the another. Suppose, I have 2 URLs www.abc.com/home/gateway [Item for /gateway is not created in sitecore] www.xyz.com/newgateway.php [This is not a Sitecore Webpage] ...
0
votes
1answer
264 views

How to include querystring in Redirects

I need to redirect to certain page based on querystring value. For Ex: Case 1 Old Url: /cs/satellite?code=10015 New Url: /Redirects/page1 Case 2 Old Url: /cs/satellite?code=10016 New Url: /...
1
vote
1answer
279 views

Sitecore Url not working - layout not found error

We have just upgraded from Sitecore 8.1 update 4 to Sitecore 9.0 update 2. Almost all the functionalities are working. We have an issue with one url. When I tried to access the URL below, I got the ...
1
vote
2answers
205 views

How to redirect default English content Item to Default website in Sitecore?

I am trying to redirect https://www.mydomain.com/en to my default site i.e. https://www.mydomain.com/en-US I have tried with Sitecore module, it is working if i select any language other than en like ...
3
votes
1answer
260 views

Sitecore Redirect Module created redirects when an item has moved above/below a sibling but still has same path

I'm using the 301 Redirect Module in Sitecore 8.2. When a user creates a new item, it is automatically placed under the parent in alphabetical order, and then when they move it to the order it's ...
1
vote
1answer
1k views

URLRedirection Custom HttpRequestProcessor

I am currently trying to build 301 redirect module in sitecore9.trying to receive requested URL .will be verifying in the content tree if requested URL has redirect URL then redirect to the URL with ...
1
vote
1answer
327 views

Redirect Maps for wildcards not working

I am mapping old Urls to new Urls using Sitecore 9.0 with SXA 1.5 - Redirect Map following this document: https://doc.sitecore.net/sitecore_experience_accelerator/16/working_with_content/search/...
0
votes
0answers
200 views

Implement domain redirects while using sitecore URL Rewrite module

In this post we have successfully implemented the subdomain redirect so now I'm going to implement domain redirect itself. Entered URL: www.mysite.com Expected URL: www.samplesite.com/about/history ...
5
votes
3answers
3k views

Sitecore 301 Redirect or IIS URL Rewrite

I am working on Sitecore project and using 301 redirect for our website. Right now our redirect chain is http://example.com/ >> http://www.example.com >> https://www.example.com >> https://www....
0
votes
1answer
339 views

Redirecting old URLs to new ones after migrating to Sitecore

We are working on migration project where we are migrating from legacy CMS system to Sitecore 8.2 and we are migrating around 300 pages to Sitecore One of the requirement where we have is to ...
1
vote
1answer
753 views

Can SXA redirect map entries redirect from a Sitecore URL to an external one?

The title more or less says it all. Having trouble figuring out how to redirect a Sitecore address to an external website URL, or if that's something that the SXA redirect map is capable of doing
2
votes
2answers
297 views

Sitecore analytics is not working after doing changes in IIS Url Rewrite Module

Client wanted to have a trailing slash at the end of urls and it should be redirected with 301. I have configured in IIS Url Rewrite and It is working fine as expected but I am getting an issue in the ...
3
votes
2answers
803 views

Implement subdomain redirects while using sitecore URL Rewrite module

For all kind of vanity URL redirection we are using URL Rewrite module in our sitecore project which is running fine. For Ex: CASE 1 Input URL: www.mysite.com/history Target URL: www.mysite.com/...
2
votes
2answers
403 views

How to set a default page for a folder?

I want to link a child item to this folder. So that if any visitor hit the URL pointing to this item, should automatically show the linked item/page. What would be the best way of achieve this? I ...
1
vote
2answers
228 views

How to allow editors to configure redirection for a particular Item/Page?

I've so many links in different website for a particular page in sitecore. I want to allow Editors to configure the redirection for that particular Item to a new page. What is the best way of doing ...
2
votes
1answer
207 views

301 redirect on sub domain

To handle 301 redirect we have made changes in pipeline and written following class public class CustomRedirect301 : PreprocessRequestProcessor { public override void Process(...
3
votes
1answer
1k views

Implementing redirect url feature in the ItemResolver pipeline

I'm working on a redirect url feature and have added a pipeline processor after the ItemResolver. However the value of HttpContext.Current.Request.Url.LocalPath equals "/layouts/system/...
6
votes
1answer
1k views

How to setup a Reverse proxy with Sitecore?

Is there a way that for certain URLs (like /blog/*) to load the content from other server, i.e implementing a reverse proxy? We were able to do this with a normal site (non Sitecore) but when ...
6
votes
1answer
14k views

Redirecting to another item in an AJAX request

I am using Sitecore 8.2 with MVC. I am trying to perform a page redirect, but my code isn't working. I'm calling an MVC controller action method from JavaScript using a jQuery AJAX call. The ...
6
votes
2answers
581 views

How to deep link into Experience Editor so that user is redirected after login?

We have a case where we need to notify approvers when a page is sent for approval. In the notification email, I want to include a link so that the approvers can go directly to the page in the ...
0
votes
1answer
3k views

WebUtil.Redirect - Cannot redirect after HTTP headers have been sent

We have simple code below: string returnUrl = "/sitecore/content/; WebUtil.Redirect(returnUrl); However, the the last line above seems to throw an exception below: 6156 2016:11:18 06:41:01 ERROR ...
3
votes
2answers
672 views

301RedirectModule isn't working for URL with dot file name

We are migrating the site from Java Vignette platform to sitecore. And we have redirect requirement. Looks like most of the Java URL seems to have dot. portal/site/template.oldRegisteration I'm ...
1
vote
2answers
418 views

IIS redirect for legacy URLs - Sitecore interference

I have a site I'm redesigning into Sitecore. The old URLs are at https://[host]/Old/[path(s)]/Pages/[ID].aspx and I want them to be translated to https://[host]/Post/[ID]. I wrote an IIS redirect rule ...
22
votes
3answers
4k views

URL Redirects, When to use Sitecore vs. when to use IIS UrlRewrite Rules

For the purpose of this conversation, let's leave URL rewriting that doesn't result in a browser redirect off the table. Here are a number of URL Redirect scenarios that are regularly encountered for ...
0
votes
1answer
765 views

Why does Sitecore redirect with status code 302 for page not found errors? [closed]

I know that there are solutions for this, and I have written some myself, but what I don't understand is why Sitecore doesn't redirect with 404 OOTB for page not found errors. Does anyone know if ...