I have searched all over the place for a canonical fix for Joomla and SH404SEF and finally wrote something up that seems to be working properly. Here is what you need to do to deal with this issue. Open up your current template and add the following line right after the defined( '_JEXEC' ) or die( [...]