Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter ittroy

    (@ittroy)

    I figured this one out.
    replace
    $go = get_bloginfo('home');
    with
    $go = "http://" . $_SERVER['HTTP_HOST'] . substr($_SERVER['REQUEST_URI'], 0, -24);
    this captures the original page info and reforms the URL when the redirection is called.
    Hope this helps someone else, just couldn’t leave it redirecting everything back to the homepage.

Viewing 1 replies (of 1 total)