Thank you very much, that solved the error but there are two problems:
1 - When entering from the manager to the SEO URLs configuration option I get the following message:
Deprecated: Function ereg() is deprecated in /public_html/tienda/admin/configuration.php on line 80
2 - On the urls Store now showing no special characters out in Spanish example:ñ, í, ó.. etc.. any advice?