After weeding through all of the wonderful information within this forum in regard to this awesome plug-in, I have adopted and modified some code that fixes the standard SEF, 404, and missing modules issues. The url in the alphacontent title, image, and read more links now match my SEF links within my menus. This hack also fixed the missing modules that some of you were experiencing.
I would like to emphasis that I did not come up with this original fix, I only messed around with it until it worked. Thank you all for getting me close to begin with.
Open the following file.
components/com_alphacontent/views/alphacontent/tmpl/default.php
Paste the following code before the text // START LAYOUT. This was on my line 661.
$base_url = "
www.yourdomain.com/";
$base_href = substr($title,0,9);
$link = substr($title,51);
$title = $base_href . $base_url . $link;
$base_href = substr($readmore,0,9);
$link = substr($readmore,51);
$readmore = $base_href . $base_url . $link;
$base_href = substr($linkimgsrc,0,9);
$link = substr($linkimgsrc,51);
$linkimgsrc = $base_href . $base_url . $link;
Make sure you change the $base_url = to your domain.
The number 51 that you see in all of the $link = substr, may have to be changed in order for my fix to work for you. A previous post had this number set at 38. I have no idea what these numbers mean or how they correlate. I just kept changing the number, saving the file, refreshing my site and hovering over the links until they matched my SEF links. Then boom, SEF match, no 404 errors, all my modules reappeared.