Dear all
i read some online tutorial and i want to do seo my url but it not working any idea for it? my slug code below
PHP Code:
slug_url($str) {
$clean iconv('UTF-8''ASCII//TRANSLIT'$str);
$clean preg_replace("/[^a-zA-Z0-9\/_| -]/"''$clean);
$clean strtolower(trim($clean'-'));
$clean preg_replace("/[\/_| -]+/"'-'$clean);
and the url i want to do it is
when i used slug my url become
The requested URL /articledetailphpph-sc-art-titleenvolkswagen-bentley-to-make-an-suv was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
can not find the information so how to sold this problem?
Best regards,