Questions tagged [url-rewrite]

For questions related to URL rewriting that specifically pertain to Sitecore, including Sitecore's native URL rewriting logic, customizations, etc. This tag should not be used for general URL rewriting questions that are not specific to Sitecore.

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

200 error on a bad URL request

Well this is weird, we have a Sitecore 9.1 multisite, and when someone tries to access https://www.abc.com/www.cc.com/ it is redirecting to 200 status code but with a server error message but if I ...
user avatar
1 vote
0 answers
987 views

"Could not resolve keys for the segment" in Experience Analytics when using UrlRewrite module

Currently, using UrlRewrite (https://github.com/iamandycohen/UrlRewrite) module adapted for Sitecore 9, but I'm not able to get results due to "Could not resolve keys for the segment 'ba6e2a68-...
user avatar
  • 677
0 votes
2 answers
54 views

Possible to retrieve PDFs deleted from the media library or retain their URL for new version?

I have deleted some PDFs from the Sitecore media library by replacing them with new PDFs which were already added to the library. As a result, the media URL is now changed. The owner now says they ...
user avatar
  • 1
1 vote
2 answers
506 views

Is there a URL Rewrite module for Sitecore 10.1.0?

Does anyone know of a URL Rewrite module that is compatible with Sitecore 10.1.0 without SXA?
user avatar
0 votes
0 answers
18 views

Sitecore And Web Service on Same Hostname not working [duplicate]

We have a Sitecore instance with a domain - abc.com and a Custom WebService is created which is also using the same domain as abc.com/internalservice.asmx, upon calling this service from Sitecore ...
user avatar
0 votes
1 answer
87 views

SXA Extending Component Search URL

Working on Sitecore 9.3. What I'm trying to do is edit a base .js file, being component-search-url.js. Specifically, I want to update the setEndpoint function to always return the endpoint. Currently ...
user avatar
1 vote
1 answer
621 views

How to get URLS added in the Rich Text field and Link Manager Fields?

I want to redirect my urls added in the Rich Text Editor,General Links to custom urls on page load. To get the URLS which exist in the General Link field and in the Rich Text Editor, I am using the ...
user avatar
0 votes
3 answers
196 views

Sitecore Dynamic URLs on data driven pages

What would be the best way to handle the Dynamic URLs in Sitecore 9.1? For example, I have a Blog page and Blog details page. Blog page will have multiple blog details. When user is clicking on any ...
user avatar
1 vote
1 answer
126 views

URL rewrite from www to naked domain

We've got a Sitecore 9 Azure app service instance We've got redirects set up as follows: <rule name="Root Hit Force HTTPS Redirection" enabled="true" stopProcessing="true"> <match url="...
user avatar
0 votes
0 answers
142 views

Site config exclude relative path for few pages

I have my site definition like below: <site patch:before="site[@name='website']" name="mysite" hostName="mysite.com" scheme="https" notFoundItem="not-found" ...
user avatar
  • 397
1 vote
1 answer
133 views

Redirect SXA site url matching query string using IIS Redirect Module

We are using Sitecore 9.0.2 and SXA 1.7.1 and we are using Sitecore Redirect module . There are some Redirects in system which have query string Parameter like the example mentioned below: OLD URL: ...
user avatar
2 votes
0 answers
360 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 ...
user avatar
  • 21
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] ...
user avatar
  • 543
1 vote
1 answer
1k 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 ...
user avatar
  • 159
1 vote
1 answer
2k views

URL rewrite for naked domain to www domain in Azure app service

We've got a Sitecore 9 Azure app service instance that we're having a singular issue with. We've got redirects set up as follows: <rule name="Redirect to www" stopProcessing="true"> <...
user avatar
  • 5,040
0 votes
1 answer
142 views

How to make query to form as part of base URL

I have a requirement where we need to retain a URL from a legacy system (Umbraco). The way legacy works is a search page that filters search results via query string but in the format of rest API. e....
user avatar
  • 161
0 votes
0 answers
391 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 ...
user avatar
5 votes
3 answers
6k 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....
user avatar
0 votes
1 answer
647 views

Redirecting any CM page URL to Experience Editor mode

I am on Sitecore 9 update 1 , XP1 topology-Azure PaaS environment. I am looking for an option of redirecting any Content Management URL to Experience Editor mode. It will redirect login if not logged ...
user avatar
  • 431
3 votes
2 answers
1k 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/...
user avatar
1 vote
1 answer
2k views

Could not create instance of type: Sitecore.Data.Database error while Installing a Sitecore module on CD server

I imagined this would be fairly simple given the lack in posts about it (anywhere really) but we're hitting a bit of a problem with this one. The module in question is URL Rewrite. It's installed ...
user avatar
  • 71
4 votes
1 answer
329 views

Need to have different IIS Rewrite rule on CD and CM while using Sitecore Azure Module

We are using the Sitecore Azure Module to deploy to CD delivery farms. We want to use an IIS Rewrite Rule to redirect all traffic on CD to SSL - however, we do not want the same rule applied on CM (...
user avatar
1 vote
0 answers
995 views

Sitecore URL Rewrite Module not working with query string

I'm using the Sitecore URL Rewrite Module found here: https://marketplace.sitecore.net/Modules/Url_Rewrite.aspx The module allows you to create redirect items. The redirect items have the fields Path ...
user avatar
  • 547
6 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 ...
user avatar
  • 161
5 votes
2 answers
780 views

Sitecore Url Rewrite Module map source url with out query string parameters to destination url with query string parameters

I have a situation where i need to map a source url with out query string parameters to a internal destination url with query string, Lets say /pag1 to /page2?Id=1 is this possible? it work if i ...
user avatar
10 votes
3 answers
3k views

URL Rewrite Module Format for Simple Redirects

I just installed the URL Rewrite Module for Sitecore 8.1. However, I do not believe the simple redirects are working correctly. I get my page not found page versus getting the page I want redirected ...
user avatar