Skip to main content

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
1 answer
62 views

Sitecore + next.js 301 redirects

Is there a way to handle (receive in the middleware for example) 301/302 status code from Sitecore server returned to next.js as a response for Layout service call? I used to use custom Node based ...
0 votes
2 answers
75 views

Embedding language in home page url

I am using Sitecore 10.3 and JSS next app, I need to add language in the home page URL. Ex: https://mydomain.com to https://mydomain.com/en/, also need all URLs to end with /. can I do this from IIS??
1 vote
1 answer
133 views

Sitecore Controller MVC Redirect takes me to base URL instead of specified path

I am having an issue in Sitecore where when I try to redirect to a particular page from within a Controller, it takes me to the home URL of the website instead of the path that I am specifying. This ...
1 vote
2 answers
86 views

Redirect 2 different DNS names to two different pages in IIS

We have a server that hosts two applications on the same default site. Default Web Site Inventory Expenses We also have two DNS names pointing to the same ip address: myinventory.mycompany.com ...
1 vote
2 answers
202 views

Third Party alias within Sitecore 8.2

When we transferred over to Sitecore the agency that helped us do this used a third party alias/redirect app supposedly within Sitecore to redirect a lot of links from the old website. From what I ...
1 vote
3 answers
200 views

Redirect map template not working in sitecore 10.2

In Sitecore 10.2 Sxa, I am trying to add redirection rules with redirect map, which is under the settings item. But when I try to add a redirect map , redirection does not work. What could be the ...
3 votes
2 answers
177 views

XMCloud Vercel app Redirect URL from uppercase to lowercase

We have an XMCloud application using NextJs, which we are deploying to Vercel. On the Vercel side, it is working fine. We have a requirement where if someone is adding uppercase/Camelcase in the URLs ...
1 vote
1 answer
166 views

Sitecore Identity callback path issue

I have set up 2 identity provider plugins in sitecore identity, one is being used for /sitecore login the other is used for one of our portals to authenticate against. Both use Okta as the IdP, ...
1 vote
2 answers
2k 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
1 answer
72 views

How do I add an external URL to my site's navigation menu?

I am new to Sitecore and I am trying to figure out how to add an external URL link to the site's navigation menu. The URL in question is supposed to link to the business's YouTube channel. I've ...
0 votes
0 answers
14 views

Get Url with section value in HttpRequestProcessor [duplicate]

I am building redirect module where i need to get the request url from browser with section value. Example : https://www.site1.com/news#category1. I am not able to get #category1 in code using args....
7 votes
1 answer
2k 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 ...
1 vote
0 answers
35 views

Potentially dangerous Request.Path & illegal characters in path [duplicate]

I am trying to fix this "Potentially dangerous Request.Path" issue when URL contains characters like these - &, <, >, ! Basically, I need to redirect the page to 404. Ex: https://&...
-1 votes
1 answer
289 views

Add site or domain name condition in IIS Rewrite Rules

I have 2 sites with name like https://www.site1.com and https://www.site1abc.com. I am trying to add Rewrite rule for site1.com only. <rule name="Custom Rule" stopProcessing="true&...
1 vote
2 answers
68 views

Disable click if page has subitems in SXA

I am working on the navigation control and I am using horizontal version with sub-items. If a page has sub-item, I was it to redirect to dummy fragment. For example, href="#dummy" I am ...
1 vote
1 answer
844 views

Redirect url with Trailing slash in the end of every url

I have a requirement where I need to redirect every URL and add trailing / in the end. Example : www.site1.com/abc should redirect to www.site1.com/abc/. Forward slash "/" should be added to ...
0 votes
0 answers
81 views

301 Redirect Module works randomly with languages

We are using this 301 Redirect Module: https://github.com/thecadams/301RedirectModule We have an issue where we are redirecting with the language identifier in place in the URL to a URL that does not ...
0 votes
0 answers
405 views

URL Redirect map is not working when i use the language in the OLD URL path

In the Sitecore 8.2: I'm trying to redirect the OLD URL to the NEW URL. Using the Redirect MAP 301. When I use language code in the OLD URL the redirection is not working. It's resolved to 404. other ...
0 votes
0 answers
294 views

Sitecore form Redirect to page submit a action redirecting to wrong url

I am using Sitecore 10.1. The Sitecore form's redirect to page submit action is redirecting to the wrong url. I have two Sites in the Sitegrouping (Auth and Prod). Auth Site is using the master ...
1 vote
0 answers
35 views

Redirect mapping media item in Sitecore SXA [duplicate]

I have already asked the question related to redirect mapping of media item in Sitecore SXA. This question is related to get this functionality though custom code or pipeline. I have not found any ...
0 votes
1 answer
158 views

Redirect mapping for media items in Sitecore

Is there any way we can redirect mapping of media item in Sitecore SXA just like redirect map of the page?
0 votes
2 answers
188 views

Show maintenance page for a sub page on the website for a fixed timeframe

We are currently on Sitecore 9.0.2 rev. 180604 and have a website www.abc.com and it has a web page called www.abc.com/a and this is the page that relies on back end systems. These systems have a ...
-1 votes
1 answer
140 views

Redirect Item To Fallback

I am doing internal redirects. I need to have the target item point back to fallback if no current language is available. Any insights here? LinkField TOURL = RedirectItem.Fields["To url"]; Item ...
2 votes
2 answers
725 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 ...
5 votes
3 answers
7k 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....
3 votes
2 answers
2k 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 ...
1 vote
2 answers
408 views

301 Redirects for Non SXA site in a Sitecore SXA instance

I have a Sitecore instance with both SXA and Non SXA sites. I want to implement 301 redirects for both the sites. For the SXA site, I'm able to do it through the SXA Redirect Map but how do I perform ...
1 vote
0 answers
230 views

Custom Redirect to Parent page other than 404

I have a parent page with many children pages. Some of those children were deleted and I would like to redirect those broken pages that currently go to 404 page back to the parent page. I am ...
1 vote
0 answers
435 views

Sitecore redirect module auto-generated redirects have wrong requested url

Sitecore 8.2 update 3. Single site. Redirect Module: https://github.com/thecadams/301RedirectModule The redirect module is automatically creating the redirect rules when an item's url changes, but it ...
1 vote
0 answers
223 views

SXA Redirect URL with Query String

I've tested a number of redirect scenarios using the map URL in SXA, but cannot get the URL structured below to redirect. Is it possible to redirect a query string with the following format? It seems ...
0 votes
1 answer
488 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 ...
6 votes
2 answers
1k 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 ...
2 votes
2 answers
1k 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 ...
2 votes
1 answer
338 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(...
1 vote
1 answer
2k 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 ...
0 votes
1 answer
250 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 ...
2 votes
0 answers
574 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
1 answer
704 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
2 answers
2k 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] ...
2 votes
1 answer
1k 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
2 answers
426 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 ...
1 vote
2 answers
524 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 ...
4 votes
1 answer
851 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 ...
2 votes
1 answer
4k 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 ...
0 votes
0 answers
584 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 ...
0 votes
1 answer
696 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 ...
2 votes
1 answer
3k 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
2 answers
427 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
2 answers
2k 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/...
4 votes
1 answer
2k 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/...