Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/10/2010, 16:01
American2010
 
Fecha de Ingreso: abril-2003
Mensajes: 1.129
Antigüedad: 23 años, 5 meses
Puntos: 34
Respuesta: Eñes y tildes en URL de Wordpress

Solución no se, pero si te animás a tocar código, creo que la solución está en editar estas líneas.

Sería cuestión de probar.

En wp-includes/formating.php encontrarás esto.

Código PHP:
function sanitize_title_with_dashes($title) {
    
$title = strip_tags($title);
    
// Preserve escaped octets.
    
$title = preg_replace('|%([a-fA-F0-9][a-fA-F0-9])|', '---$1---', $title);
    
// Remove percent signs that are not part of an octet.
    
$title = str_replace('%', '', $title);
    
// Restore octets.
    
$title = preg_replace('|---([a-fA-F0-9][a-fA-F0-9])---|', '%$1', $title);

    
$title = remove_accents($title);
    if (
seems_utf8($title)) {
        if (
function_exists('mb_strtolower')) {
            
$title = mb_strtolower($title, 'UTF-8');
        }
        
$title = utf8_uri_encode($title, 200);
    }

    
$title = strtolower($title);
    
$title = preg_replace('/&.+?;/', '', $title); // kill entities
    
$title = str_replace('.', '-', $title);
    
$title = preg_replace('/[^%a-z0-9 _-]/', '', $title);
    
$title = preg_replace('/\s+/', '-', $title);
    
$title = preg_replace('|-+|', '-', $title);
    
$title = trim($title, '-');

    return 
$title;
} 
$title = remove_accents($title);

Empezaría borrando esa linea a ver que pasa
__________________
• elGastronomo •