Jump to content

Where change the special characters used in the url?


Théophraste

Recommended Posts

Posted

I went from 3.4.9 to 4.1.9, that's fine, but as my forum is in French, I now have special characters in my url, including old. My SEO is disturbed. Where change the special characters in the url?

thank you :).

  • 2 weeks later...
Posted
On 6 April 2016 at 0:18 PM, Théophraste said:

Hello.

my admin made the changes necessary to return to a normal situation

 

Thank's

Do you know what was changed? I also have some urls that seem to have special characters such as ' or at times just even a - and it just causes a 500 with no connection be thrown back to the browser. WebMaster tools seem to showing a lot those actually when looking further into it.

Posted

hello, sorry for ma bad americain, for us :

 

 
at domain/

file url

chercher : ( ligne 254 )

/* Get rid of newlines/carriage returns as they're not cool in friendly URL titles */
        $value = str_replace( array( "\r\n", "\r", "\n" ), ' ', $value );

        /* Just for readability */
        $value = str_replace( ' ', '-', $value );


remplacer par :

        /* Get rid of newlines/carriage returns as they're not cool in friendly URL titles */
        $value = str_replace( array( "\r\n", "\r", "\n" ), ' ', $value );

        /* Just for readability */
        $value = str_replace( ' ', '-', $value );
        $value = str_replace( 'é', 'e', $value );
        $value = str_replace( 'è', 'e', $value );
        $value = str_replace( 'ê', 'e', $value );
        $value = str_replace( 'ë', 'e', $value );
        $value = str_replace( 'î', 'i', $value );
        $value = str_replace( 'ï', 'i', $value );
        $value = str_replace( 'ü', 'u', $value );
        $value = str_replace( 'ù', 'u', $value );
        $value = str_replace( 'û', 'u', $value );
        $value = str_replace( 'ö', 'o', $value );
        $value = str_replace( 'ô', 'o', $value );
        $value = str_replace( 'à', 'a', $value );
        $value = str_replace( 'ä', 'a', $value );
        $value = str_replace( 'ç', 'c', $value );

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...