If the SEF URL is breaking the URLs Check the mod_rewrite and check if the Apache installation has mod_rewrite included. You can check this with your hosting provider.
To configure Joomla to use mod_rewrite
1.Look for the file .htacess.txt in the Joomla installed directory for a file named htaccess.txt and rename it to .htaccess. and restart Apache.
2.Go to Site ->Global and in the SEO Settings, choose Yes for Use Apache mod_rewrite section.