hi
when new module has been created, contains text links content page, these links in format (/index.php?option=com_content&task=view&id=255&itemid=28). when turned seo friendly on these links remains same sush i.e not seo friendly url (/content/255/28).what how can solve this?
thanks in advance,
john

when new module has been created, contains text links content page, these links in format (/index.php?option=com_content&task=view&id=255&itemid=28). when turned seo friendly on these links remains same sush i.e not seo friendly url (/content/255/28).what how can solve this?
thanks in advance,
john

hi john
if writting module yourself.
this should trick:
/index.php?option=com_content&task=view&id=255&itemid=28
don't use opening " / "
if writting module yourself.
this should trick:
code: select all
<?php
$link= "index.php?option=com_content&task=view&id=255&itemid=28";
echo "<a href='".sefreltoabs($link)."' >link text</a>";
?>
/index.php?option=com_content&task=view&id=255&itemid=28
don't use opening " / "
Comments
Post a Comment