Hey i found a fix for this on joomla...
Hi all
this component is great, however when it comes to anchors there is a problem, I have a link to an anchor "#top" at
www.mysite.com/article1.html , when you hover over the link you expect that it will get :
www.mysite.com/article1.html#top , but no, it will get
www.mysite.com/#top , this is fixed by going to this file : mambots/content/mossef.php and edit the "else if" starting at line 79 to be :
else if ( strpos( $matches[1], '#' ) === 0 ) {
// special handling for anchor only links
$url = $_SERVER['REQUEST_URI'];
$url_1 = $url; ///// my fix
$url = explode( '?option', $url );
if (is_array($url) && isset($url[1])) {
$link = 'index.php?option'. $url[1] . $matches[1];
} else {
$link = $matches[1];
}
// convert url to SEF link
$link = sefRelToAbs( $link );
$link = sefRelToAbs( $url_1 ).$link; //// my fix
// reconstruct html output
$replace = 'href="'. $link .'"';
return $replace;
}