User url for a component page - Joomla! Forum - community, help and support
hi,
we have component page needs accessed http://hostname/drfullname
now, basic router.php stuff can access http://hostname/index.php/componentname/view/66 66 userid.
now, need going http://hostname/index.php/componentname/view/66 http://hostname/drfullname
i tried using following rewrite engine rule, didn't help.
could give pointers/clues on how go doing url http://hostname/drfullname ?
thanks much.
we have component page needs accessed http://hostname/drfullname
now, basic router.php stuff can access http://hostname/index.php/componentname/view/66 66 userid.
now, need going http://hostname/index.php/componentname/view/66 http://hostname/drfullname
i tried using following rewrite engine rule, didn't help.
code: select all
rewriteengine on
rewritemap userurlmapping txt:c:\userurlmapping.txt
rewriterule ^/dr(.*) /index.php?option=com_mycomponent&itemid=67&user=${userurlmapping:$1}
could give pointers/clues on how go doing url http://hostname/drfullname ?
thanks much.
Comments
Post a Comment