Hook php redirect before qtranslate
-
Hello!
I’m setting up migration from old site, and the new one uses qtranslate-X. I try to set up redirects from the old pages to new ones using php code, but end up with qtranslate redirects occurring BEFORE my php-coded redirects, e.g. when I load
instead of getting 301 Moved permanently to
it gets two redirects, first from qtranslate:
302 Found https://mysite.com/en/oldpage
301 Moved https://mysite.com/en/newpageIs there a way to hook before qtranslate redirects to what it thinks should be canonical url?
- The topic ‘Hook php redirect before qtranslate’ is closed to new replies.