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?

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

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, privacy policy and cookie policy

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