Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nalesnik2009

    (@nalesnik2009)

    it’s my solution:
    go to qtranslate_core.php and paste thi on line ~140:
    $home = qtrans_parseURL(get_option(‘home’));
    $redirects = new quick_page_post_reds();

    if(!empty($redirects->quickppr_redirects))
    {
    foreach($redirects->quickppr_redirects as $k => $v)
    {
    if($q_config[‘url_info’][‘original_url’] == $home[‘path’].$k)
    {
    wp_redirect($v);
    exit;
    }
    }
    }

    it’s working with Quick Page/Post Redirect Plugin

    Thread Starter nalesnik2009

    (@nalesnik2009)

    sorry, little fix;

    $home = qtrans_parseURL(get_option(‘home’));
    if(class_exists(quick_page_post_reds))
    {
    $redirects = get_option( ‘quickppr_redirects’);

    if(!empty($redirects))
    {
    foreach($redirects as $k => $v)
    {
    if($q_config[‘url_info’][‘original_url’] == $home[‘path’].$k)
    {
    wp_redirect($v);
    exit;
    }
    }
    }
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirections problem’ is closed to new replies.