301RedirectModule icon indicating copy to clipboard operation
301RedirectModule copied to clipboard

version 1.9 doesn't work with sitecore 10

Open Ashahi01 opened this issue 4 years ago • 17 comments

Upgraded package version 1.9 doesn't work with sitecore 10. Created a requested url for redirecting but it doesn't work Any help would be appreciated.

Ashahi01 avatar Feb 03 '21 08:02 Ashahi01

Upgraded package version 1.9 doesn't work with sitecore 10. Created a requested url for redirecting but it doesn't work Any help would be appreciated.

At this point, I presume there will be no update for Sitecore 10? @Ashahi01 did you figure it out or switch to a new redirect module?

edit: n/m I found it.

KrisBethea avatar Aug 25 '21 13:08 KrisBethea

Hi

I have installed the Upgraded package version 1.9 on Sitecore 10.0.1 and still doesn't work. Have you managed to get it to work? If so, on which Sitecore version are you?

Soulfulate avatar Sep 01 '21 09:09 Soulfulate

I'm working on 10.1.1 but I've put off doing the redirects until after I get Glass Mapper, WeBlog, and the dynamic placeholders updated. I was hoping by then that there would be some work done on the 301RedirectModule to ease the upgrade.

I'll update here when (if??? LOL) I get it working.

KrisBethea avatar Sep 01 '21 12:09 KrisBethea

Hi

I have installed the Upgraded package version 1.9 on Sitecore 10.0.1 and still doesn't work. Have you managed to get it to work? If so, on which Sitecore version are you? @Soulfulate I installed sitecore 10.0.1 and I could make it work. there is an issue with the initial package that redirection doesn't work for the page that exist. I had to make small change in there file and it worked.

Ashahi01 avatar Sep 01 '21 12:09 Ashahi01

Oh COOL!! Good to know, thanks @Ashahi01

KrisBethea avatar Sep 01 '21 12:09 KrisBethea

Oh COOL!! Good to know, thanks @Ashahi01

@KrisBethea Let me know if you need those fix, I can share that.

Ashahi01 avatar Sep 01 '21 12:09 Ashahi01

@Ashahi01 that's wonderful. could you share exactly how you got it work? i am desperately needing a solution (my life depends on it LOL).

Soulfulate avatar Sep 01 '21 12:09 Soulfulate

@Soulfulate Go to this file SharedSource.RedirectModule.config it would be placed inside Include/SharedSource/ folder. Go to the line below <processor type="SharedSource.RedirectModule.Processors.RedirectProcessor,SharedSource.RedirectModule" patch:after="processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']"/> In this line, replace patch:after with patch:before And that's it 301 redirect module would work for existing pages as well.

Ashahi01 avatar Sep 01 '21 12:09 Ashahi01

@Ashahi01 i have made the changes like you've said and i'm still not able to get the module to work (see image below) image

here's what i did:

  1. installed v1.9 Package of the module
  2. copied the contents of /App_Config/ and /bin to the respective App_Config and /bin in my wwwroot website both on the CM and CD roles
  3. created a Redirect URL rule under the content tree (/sitecore/system/Modules/Redirect Module/Redirects/Test3)
  4. then published this rule out to the web db (published the templates and all the subitems before and also checked after publishing that the rule is on the web db by using DB Browser)

still no joy after all that :(

Soulfulate avatar Sep 01 '21 13:09 Soulfulate

@Soulfulate You will have to install the package instead of manually copying the files to respective folders.

Ashahi01 avatar Sep 01 '21 13:09 Ashahi01

@Ashahi01 i installed it. v1.9

Soulfulate avatar Sep 01 '21 13:09 Soulfulate

Please check your Requested Url and redirect to item field has correct format image

Attached the format that I have used

Ashahi01 avatar Sep 01 '21 13:09 Ashahi01

@Ashahi01 here's a snippet of my rule image

Soulfulate avatar Sep 01 '21 13:09 Soulfulate

Rule looks correct.

Ashahi01 avatar Sep 01 '21 13:09 Ashahi01

Hi @Soulfulate @Ashahi01

My Project recently we started migrating from 8.1 to 10, but page redirects are not working. I am looking for v1.9 package on this link http://trac.sitecore.net/301RedirectModule. but page is not loading, Could you please provide me that zip package and a way to install it Sitecore 10.

would really appreciate your help

ganeshvidhate avatar Sep 02 '22 11:09 ganeshvidhate

Hi @ganeshvidhate @Soulfulate @Ashahi01 @KrisBethea , We have currently migrated to SC 10.2 instance where the Redirects are not working. Could any one of you please help me to resolve this?

kartyek avatar Aug 25 '23 18:08 kartyek

On Sat, Aug 26, 2023 at 12:06 AM kartyek @.***> wrote:

Hi @ganeshvidhate https://github.com/ganeshvidhate @Soulfulate https://github.com/Soulfulate @Ashahi01 https://github.com/Ashahi01 @KrisBethea https://github.com/KrisBethea , We have currently migrated to SC 10.2 instance where the Redirects are not working. Could any one of you please help me to resolve this?

— Reply to this email directly, view it on GitHub https://github.com/thecadams/301RedirectModule/issues/64#issuecomment-1693779729, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQWKFNX4NATMEWILVQN3VLXXDWB3ANCNFSM4XAL7XIA . You are receiving this because you were mentioned.Message ID: @.***>

Hi Kartyek,

After taking this module, u need to write ur own custom rules in redirectProcessor file. Base on the page request.

We did the same.

Thanks

ganeshvidhate avatar Sep 20 '23 08:09 ganeshvidhate