Wrong redirect sometimes.
-
I have also WPML plugin installed, with lang urls like “/en”, “/de”. Issue is, if you make redirect from something like /en/test to /, you will be redirected from /en/test to /en// and then to en/, but not to site root url.
I fixed it by changing home_url() to site_url(), on 251 row. Is it right to use home_url instead of site_url()?
Maybe it could be good to change home_url to site_url?
The topic ‘Wrong redirect sometimes.’ is closed to new replies.