0

i need an export of all Joomla Articles in a specific category, but with the URL they are on. (So introtext, fulltext, url)

Has anybody a quick way how I can get the Joomla SEF Url if i only have the article ID?

1
  • SEF URLs of the articles aren't stored in Joomla database
    – FFrewin
    May 6, 2017 at 9:50

1 Answer 1

1

You can use jroute and the contenthelperroute to get the sef urls.

JRoute::_(ContentHelperRoute::getArticleRoute($id, $catid, $language));

If you only have the article ID's you can try this without $catid and $language. They are optional.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.