12
votes
URL Rewrite Module Format for Simple Redirects
In my investigation and research into this issue I spoke with Andy Cohen the contributor for this module and he let me know that here is the proper format for Simple Redirect paths:
http://xyzcompany....
9
votes
Sitecore 301 Redirect or IIS URL Rewrite
Well in any case you will have to bind example.com as well as www.example.com on your website.
Next you have multiple options. Either use IIS Rewrite rules.
<rule name="Root Hit Force HTTPS ...
9
votes
How to setup a Reverse proxy with Sitecore?
We faced the same issue about a month ago.
You can use the following rewrite rule.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
...
7
votes
Accepted
Sitecore 301 Redirect or IIS URL Rewrite
Yes, You can achieve this requirement through Sitecore 301 Redirect Module or IIS URL Rewrite both.
Paste the below Code inside your <system.webServer></system.webServer> element in the ...
6
votes
Sitecore Url Rewrite Module map source url with out query string parameters to destination url with query string parameters
This is possible with the IIS rewrite module. This example comes from the Microsoft iis.net site:
to rewrite http://localhost/pag342
to: http://localhost/page2?id=342
you would need find a pattern ...
5
votes
URL Rewrite Module Format for Simple Redirects
The simple redirects assume that your matching url is at the root. There is no need for a beginning forward slash.
When you installed the module, it comes with examples located at /sitecore/Content/...
5
votes
Accepted
Need to have different IIS Rewrite rule on CD and CM while using Sitecore Azure Module
Your CM and CD servers are available by different addresses.(e.g.: cms.test.com and www.test.com)
It is possible to filter redirect rule before execution using {HTTP_HOST} variable:
<rule name="...
4
votes
Accepted
Sitecore Url not working - layout not found error
This may happen when you have a sibling item (e.g. folder or item without a layout) with the same name or display name.
Be aware that Sitecore replaces hyphens to spaces when it tries to find an item ...
4
votes
How to get URLS added in the Rich Text field and Link Manager Fields?
From what I understand, you want to implement custom logic for generation of internal links added by content authors in Rich Text fields.
If that's the case, you need to change the logic of ...
3
votes
URL Rewrite Module Format for Simple Redirects
The path should be the relative to the root of the site (no scheme or domain). It sounds like you also have an error page module or custom built functionality also installed. My guess is that module ...
3
votes
Accepted
Implement subdomain redirects while using sitecore URL Rewrite module
The Sitecore URL rewrite module is conceptually based on the IIS Rewrite Module Shiva referenced.
You would essentially do the same thing Shiva outlined but withing Sitecore using the Inbound Rule ...
2
votes
How to make query to form as part of base URL
You could use Sitecore wildcard item(s) to achieve this.
You create a page underneath searchpage and name it "*". Sitecore will map all request that are made to something underneath searchpage (and ...
2
votes
Is there a URL Rewrite module for Sitecore 10.1.0?
Installing Constellation.Feature.Redirects gets you a new Sitecore app for the Sitecore Desktop called Redirect Manager. This application allows you to create, update, export, and import a list of ...
2
votes
Accepted
Redirect old subsite url to new subsite url using URL redirect generic IIS Rewrite Rule
A simple rule like that will do the trick:
<rule name="subsite rule" stopProcessing="true">
<match url="^([a-z]{2}(\-[a-z]{2})?/)?subsite(/.*){0,1}$" />
...
1
vote
how to include custom domain name in the redirection rule
Try this:
<rewrite>
<rule name="Rule for Somesite" stopProcessing="true">
<match url=".*" />
<conditions>
<add ...
1
vote
Redirect old subsite url to new subsite url using URL redirect generic IIS Rewrite Rule
You can redirect your existing production we have URL to sub site URL as below
<rule name="ms1" stopProcessing="true">
<match url="^subsite/?$" />
<...
1
vote
Renaming items with rewrite url module
Installing Constellation.Feature.Redirects gets you a new Sitecore app for the Sitecore Desktop called Redirect Manager. This application allows you to create, update, export, and import a list of ...
1
vote
IIS Rewrite Rule to redirect to new domain along with querystring parameters
You have to add appendQueryString="true" to your <action> tag:
<rule name="AllURLRedirect" stopProcessing="true">
<match url="http://olddomain.com/...
1
vote
Possible to retrieve PDFs deleted from the media library or retain their URL for new version?
As mentioned here already, the Recycle Bin is keeping deleted files.
If you want to change the pdf that is attached to the media item, you can detach it and attach a new one - this will change the pdf ...
1
vote
Is there a URL Rewrite module for Sitecore 10.1.0?
There's no Sitecore-specific URL Rewrite to my knowledge, but perhaps IIS URL Rewrite will do?
https://www.iis.net/downloads/microsoft/url-rewrite
1
vote
SXA Extending Component Search URL
If that would be a JS file connected to any of the search renderings then there is a small chance that you would be able to do it. There is an option to use before and after rendering initialization ...
1
vote
Accepted
URL rewrite for naked domain to www domain in Azure app service
Turns out the solution was to add the naked domain xyz.com to the custom domains list. It involved pointing the A record and a TXT identifier in the DNS to Azure, so the custom domain system could ...
1
vote
Sitecore Dynamic URLs on data driven pages
There is a wildcard module available in Sitecore marketplace which can exactly help you in your blog post with blog detail scenario.
Module's marketplace link : https://marketplace.sitecore.net/en/...
1
vote
Redirect SXA site url matching query string using IIS Redirect Module
It's quite difficult to answer this question with certainty as it may be a bit of trial and error, but you can try this rewrite rule
<rule name="1" stopProcessing="true" patternSyntax="ExactMatch"&...
1
vote
Accepted
Redirect URL A to URL B
As an alternative you can write your own processor. For example like you would create a 404 processor, but then let it hook into a Sitecore list where you map url's to external links.
Like:
public ...
1
vote
Sitecore 301 Redirect or IIS URL Rewrite
You can write your own re-write rule:
https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module
It is not related to the Sitecore. If you ...
1
vote
Redirecting any CM page URL to Experience Editor mode
You can force the PageMode with a pipeline processor to set the display mode, this will cause the user to be redirected to the Sitecore Login page if they are not previously logged in:
public class ...
1
vote
Implement subdomain redirects while using sitecore URL Rewrite module
After changing DNS of the sub-domain to point to your server IP address, you have to redirect traffic from the sub-domain host name(location.mysite.com) to your target URL(www.mysite.com/locations) in ...
1
vote
Accepted
Could not create instance of type: Sitecore.Data.Database error while Installing a Sitecore module on CD server
After going through all the files in the package and checking the content of them I found the culprit. There was a file (Hi.UrlRewrite.Prefetch.Master.config) which references the master database ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
url-rewrite × 34redirect × 10
iis × 7
urls × 6
sxa × 3
azure × 3
sitecore-api × 3
sitecore-client × 2
multilingual × 2
content-delivery × 2
link-manager × 2
module × 2
seo × 2
sitecore-commerce × 1
experience-editor × 1
configuration × 1
media-library × 1
experience-analytics × 1
security × 1
upgrade × 1
installation × 1
mvc × 1
paas × 1
content-management × 1
links × 1