• Resolved Heikki

    (@heikkiwaan)


    Hello
    I have a redirection like this, regexp enabled:
    page=304&lang=1
    redirected to:
    /kauppa/

    But what i will get, is when i go to example.com/index.php?page=304&lang=1
    it will instead go to example.com/?%2Fkauppa%2F

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter Heikki

    (@heikkiwaan)

    but it might be an incompatibility with wpml or some other plugins since it is working differently on the other site. It changes the slashes to %2F

    Plugin Author John Godley

    (@johnny5)

    Sure. Again, your regular expression needs to match the whole URL. I think I’ve mentioned this a couple of times, and it’s also in the guide that I referenced.

    Your source URL will still need a / at the beginning like a normal URL.

    but it might be an incompatibility with wpml or some other plugins since it is working differently on the other site

    Other things can cause redirects. I don’t know what that URL is, but it may be unrelated to Redirection.

    Thread Starter Heikki

    (@heikkiwaan)

    /index\.php\?page=31&lang=1
    This works on the test site.

    Thread Starter Heikki

    (@heikkiwaan)

    ok, i will investigate on what plugin is causing this, thanks anyhow and sorry.

    Thread Starter Heikki

    (@heikkiwaan)

    btw i used
    .*page=304&lang=1
    and it works on the test site, but not on the actual site. will investigate…

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘URL redirection isn’t working.’ is closed to new replies.