Skip to content
This repository has been archived by the owner on Apr 14, 2019. It is now read-only.

Redirect on Multi site #19

Open
jonathanS8080 opened this issue Feb 9, 2017 · 6 comments
Open

Redirect on Multi site #19

jonathanS8080 opened this issue Feb 9, 2017 · 6 comments

Comments

@jonathanS8080
Copy link

Hi,
I have tweaked your code to allow us to add in the full path of a redirect as we need to use this on a multi site setup. But the redirects dont actually work. Can you tell me why this maybe. Is there a config setting?
Thanks

@enkelmedia
Copy link

I'm also looking for a multisite solution with full urls, jonathanS8080 did you solve this? Did you find any other solution?

@giuunit
Copy link

giuunit commented Aug 4, 2017

Hi,
Any updates on this topic ?

@jonathanS8080
Copy link
Author

jonathanS8080 commented Oct 9, 2017

I am still waiting for a reply from the guys who wrote this as it still doesn't work for Multi sites.
Even if it was just a help in the code we could re-build our own version of it to meet our requirements.

@enkelmedia
Copy link

@jonathanS8080 @giuunit I used SEO Checker and that works for me.

@jonathanS8080
Copy link
Author

Is there a 301 redirect in that package - I didnt think there was.

@jonathanS8080
Copy link
Author

I have updated the existing Simple301 code to get it working for Multi Sites.
In RedirectRepository.cs comment out any code that uses .EnsurePrefix("/") as we dont need this to happen.

In RedirectContentFinder.cs add this in to update the Path - "path = request.Uri.ToString(); "
Build the DLL and replace your existing one.

Please let me know if you find any errors with this code update.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants