Problema con producto (Redirects URLs to a framed page)

Esta es una discusión para el tema Problema con producto (Redirects URLs to a framed page) en el foro vBulletin 3 - Preguntas, Problemas y Soluciones, bajo la categoría Soporte vBulletin; El problema es el siguiente, nose que pasa esta todo bien para ver urls externas dentro del msimo foro y guay. Hasta aqui todo bien, lo malo que despues se confunde o nose que pasa ...
Página:


Resultados 1 al 2 de 2

Temas similares

  1. Por Alucard^ en el foro vBulletin 4 - Preguntas, Problemas y Soluciones
  2. Por brz299 en el foro Soporte para Productos/Plugins
  3. Problema con URLS Respuestas: 2
    Por Maurii20 en el foro vBSEO
  4. Por Hburzum en el foro Soporte para Productos/Plugins
  5. Por Alucard^ en el foro vBulletin 3 - Preguntas, Problemas y Soluciones
  1. #1
    Miembro Array
    Fecha de ingreso
    26 jun, 09
    Mensajes
    7
    Gustado
    0 Veces
    Me Gustan
    1 Veces

    Predeterminado Problema con producto (Redirects URLs to a framed page)

    El problema es el siguiente, nose que pasa esta todo bien para ver urls externas dentro del msimo foro y guay. Hasta aqui todo bien, lo malo que despues se confunde o nose que pasa como vereis en el siguiente enlace los enlaces internos los modifica y los hace erroneos: ejemplo.

    se añade esto: !477!

    Código:
    http://www.imperiowarez.com/foro/!477!http://www.imperiowarez.com/foro/tutoriales-de-psp/477-tutorial-6-20-tn-hen-prometheus-iso-loader.html#post1884
    y deberia ser asi: ext.php?ref=
    Código:
    http://www.imperiowarez.com/foro/ext.php?ref=http://www.imperiowarez.com/foro/tutoriales-de-psp/477-tutorial-6-20-tn-hen-prometheus-iso-loader.html#post1884
    Pienso que se tiene que modificar algo del archivo ext.php . Asi que si por me ayudan, aqui dejo el doc:

    Código PHP:
    <?php
    //error_reporting(E_ALL & ~E_NOTICE);
    error_reporting(0);
    define('NO_REGISTER_GLOBALS'1);
    define('THIS_SCRIPT''externalframe');
    $phrasegroups = array();
    $specialtemplates = array();
    $actiontemplates = array();
    $globaltemplates = array('urlredirect_page');

    // #####################################################################
    // INCLUDES
    // #####################################################################
    require_once('./global.php');

    if (
    $_GET) {
      foreach (
    $_GET as $key => $value) {
        if (
    $key=="ref") {
          
    $firsturl $value;
        }
        else {
          
    $secondurl "&"$key"="$value;
        }
      }

      
    $ref strip_tags($firsturl$secondurl);
    }

      
    $homeurl parse_url($_SERVER['HTTP_HOST']);
      
    $homeurl $homeurl[path];
      
    $desturl parse_url($ref);


    if (
    $desturl[scheme] == "http" && $desturl[host]) { //only works for http.  All other protocols become direct links


      
    if ($homeurl == $desturl[host]) { //see if the referal is local or not.  If local, 301 to new location.
        
        
    Header"HTTP/1.1 301 Moved Permanently" );
        
    Header"Location: "$ref );
     
      }
      else { 
    //otherwise, open new window
        
    eval('print_output("' fetch_template('urlredirect_page') . '");');
      }

    }
    else { 
    //if invalid URL, just display it.  May be non-HTTP protocol

      
    Header"HTTP/1.1 301 Moved Permanently" );
      
    Header"Location: "$ref );

    }
    ?>


    ---------- Actualizado a las 23:10 ---------- Original a las 22:54 ----------

    encontre la solucion.

    El problema es vbseo, el problema se quita de la siguiente forma:

    In vBSEO settings, there is one setting called as "Add Thread Titles"

    If this is set to anything other than "Do not add thread titles" we will get into the problem of internal URLs not working with the Redirects.

  2. #2
    Miembro especial Miembro de platino Array Avatar de Pedro Abelino
    Fecha de ingreso
    14 sep, 08
    Ubicación
    Monclova, Mexico, Mexico
    Mensajes
    255
    Gustado
    88 Veces
    Me Gustan
    5 Veces

    Predeterminado Re: Problema con producto (Redirects URLs to a framed page)

    Si. Efectivamente el problema lo genera vBseo. Gracias por compartir
    ¿Te sirvió mi ayuda?, Cliquea el botón Me Gusta o añade reputación.