Do not remember me!
/ / / Custom seo url in your language - dots in url

Custom seo url in your language - dots in url

Hi guys !

I have a problem with links in dle, in standard my links look like that:

and its not proper name, it shoudl be /więzień-nienawiści.html

so I used hack called "Custom seo url in your language" and it was fine, but spaces turn into %20 and link look like that:ęzień%20nienawści.html

I want to change %20 into dot, make link look like:ęzień.nienawści.html

Sorry for my bad English request Please help me love Added by: in PHP Questions on


Comments 2

  1. MongKol
    MongKol Currently Offline → 14 October 2015 12:13

    Not really expert on this field, but maybe you can try to create new function like this

    $alt_name = ( trim( $alt_name ) == "" or !$alt_name ) ? $title : $alt_name;

    function urlSafeString($alt_name)
        $alt_name = eregi_replace("[^a-z0-9\040]","",str_replace("."," ",$alt_name));
        $alt_name = eregi_replace("[\040]+",".",trim($alt_name));
        return $alt_name;
     N/A |  37
  2. Kierba
    Kierba Currently Offline → 28 October 2015 07:26

    Thank you for your replay but its still not working with that new function sad
     1 |  1


Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.