Assuming that YOUR code generates the URL
then you *know* the article exists.
And if somebody passes you a bogus URL:
Well, so what if that article doesn't exist? Toss them back to the starting page.
And if somebody gives you a bogus path:
all you really need to do is verify that the given section and subsection exist. Or maybe you don't even care.