How to fix URL? I just need to add the article's alias!

More
14 years 9 months ago #3527 by ComposerRyan
I need to add the article's alias on the end of this URL in a plugin I downloaded to make it search engine friendly...do you know how I would do that?

$link="<a href=\"".JRoute::_(FlexicontentHelperRoute::getItemRoute($result->value))."\" >";


Currently, it only displays the article number and leaves off its alias like this:

www.mysite.com/category/item/107


when I need it to look like this:

www.mysite.com/category/item/107-article-alias-here


...how would I put its alias on the end of it? I am very, very new to this coding stuff and would appreciate the help! :)

by the way, I used the new route.php file that Emmanuel provided here: www.flexicontent.org/forum/index ... =viewtopic
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.352 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline