Matrix redirect URLs not in remap manager


#1

Hi there, we have issues with URL redirection that I hope someone could help.

We have the following in the remap manager:

https://mysite.com/oldcontent => https://anothersite.com/newcontent
https://mysite.com/oldcontent/contact => https://anothersite.com/newcontent/contact-us
https://mysite.com/oldcontent/page1 => https://yetanothersite.com/newcontent/page1

and few other redirection for pages under /oldcontent

All those redirection works as expected but when I added new redirection, for example:

https://mysite.com/oldcontent/oldpage => https://anothersite.com/newcontent/newpage

it won’t work. The page will redirect to the first redirect, ie https://anothersite.com/newcontent instead of going to https://anothersite.com/netcontent/newpage. I have checked the destination page by accessing it directly and the page is up and not doing any redirection.

This suggests to me that there is a server side rule (on OpenResty level) that does this redirection. But I was actually told by one of Squiz implementers that they don’t do redirection on OpenResty level.

Has anyone experienced similar issues? Thanks.


(Marcus Fong) #2

It’s hard to say without looking into your specific case.

It’s true that our implementers don’t, and can’t, do redirections at the Openresty or Apache level. To put such redirections in place, a system administrator is required (not a Matrix system administrator user, but the kind of system administrator who maintains the server Matrix runs on).

It’s also the case that in general, we don’t use webserver-level redirects. They tend to create confusion and be harder to maintain, since they don’t show up in Matrix and a sysadmin is required to add, remove or change them. This is not an absolute rule and there are sometimes reasons why a webserver-level redirect might make sense, but that would be considered on a case-by-case basis.

It would probably be easiest to submit a Squiz support ticket so that someone can check your system and confirm what’s actually going on there.


#3

Hi Marcus, thank you for your response. We have contacted Squiz and I am now waiting for the list of OpenResty redirect rules sent to me. Then I’ll go from there.