Jump to content

Where change the special characters used in the url?


Théophraste

Recommended Posts

  • 2 weeks later...
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.

Link to comment
Share on other sites

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 );

 

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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