• SupportApache
  • relative rewrite (301) rewrite to http instead of https

This is one of many rules of an Apache PHP (symlink) app:

RewriteRule ^home/work-with-us/$      /work-with-us         [R=301,L]

This works, but through 2 redirects (which is wrong). If the domain is domain.com:


I suspect this might be due to nginx proxying the apache server. Is there a way, without manually declaring the domain in the redirect rule, to skip the double rewrite

TIA

note: the rule works via a RewriteBase / rule before it

At this time there is no workaround for the second redirect on our platform. I'll make a note of this in our bug tracker.

Mastodon