I am trying to disable a direct access by article id in Joomla 2.5. For example, http://domain.com/6 will display an article with id number 6 (http://domain.com/6 should redirect to error page). This can be reproduced with default 2.5 installation (using sample data) http://domain.com/index.php/6 which will display "Australian Parks". I prefer not to use ".htaccess" or apache rewrites if possible. "Search Engine Friendly URLs" is being used in the project.
Thanks