constellation4sitecore / constellation-sitecore9

A collection of Sitecore 9 compatible, helix-conforming libraries for accelerated Sitecore development
MIT License
18 stars 12 forks source link

case sensitive #15

Open Aravind03 opened 8 months ago

Aravind03 commented 8 months ago

Hi @sitecorerick ,

We have identified that the redirection is not working for the below case.

Example : Assuming we have a page www.abc.com/Help which needs to be redirected to www.abc.com/contact-us. If the user browse for www.abc.com/help (with small 'h'), then it's redirecting to custom 404 page.

Any help is appreciated.

sitecorerick commented 7 months ago

This is because IIS is not case-sensitive. You need to install an IIS UrlRewrite rule to force all URLs to lowercase to prevent this from happening. It's standard best practice for SEO to ensure all URLs are lowercase.

On Fri, Feb 16, 2024 at 12:56 AM Aravind03 @.***> wrote:

Hi, We have identified that the redirection is not working for the below case.

Example : Assuming we have a page www.abc.com/Help which needs to be redirected to www.abc.com/contact-us. Incase if the use browse for www.abc.com/help (small 'h'), then it's redirecting to custom 404 page.

Any help is appreciated.

— Reply to this email directly, view it on GitHub https://github.com/constellation4sitecore/constellation-sitecore9/issues/15, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANN5GHI6ZTDXFZ7NAVW4QTYT3YHPAVCNFSM6AAAAABDLPC7DOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTOOJSGU2TCOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Aravind03 commented 6 months ago

@sitecorerick - Thanks for the information.

Is it possible to download the source code for the project(Constellation.Feature.Redirects), make some code changes and build a custom package out of it which can be uploaded to sitecore.

If yes, can you please provide the steps to be performed.

sitecorerick commented 6 months ago

Yes, you can do that. The location of the repository is in the NuGet package description.

On Tue, Apr 2, 2024 at 1:26 AM Aravind03 @.***> wrote:

@sitecorerick https://github.com/sitecorerick - Thanks for the information.

Is it possible to download the source code for the project(Constellation.Feature.Redirects), make some code changes and build a custom package out of it which can be uploaded to sitecore.

If yes, can you please provide the steps to be performed.

— Reply to this email directly, view it on GitHub https://github.com/constellation4sitecore/constellation-sitecore9/issues/15#issuecomment-2031108301, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANN5GA4ZK6JMTAZKBVIYITY3I6R7AVCNFSM6AAAAABDLPC7DOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZRGEYDQMZQGE . You are receiving this because you were mentioned.Message ID: <constellation4sitecore/constellation-sitecore9/issues/15/2031108301@ github.com>