Create dynamic page with dynamic addresses My module creates pages. These pages have dynamic addresses, such as:


test -> http://www.SITENAME.com/test or
hello/world -> http://www.SITENAME.com/hello/world or everything that admin adds.


How do I assign a page callback to these pages? I get the "page not found error" on these pages.

I am using Drupal 7.
I don't understand what you mean by "my module creates pages". It sounds as if you meant to say "URLs" instead of "pages".

Anyway, if you want to link a callback to a URL, you need to implement hook_menu() in a custom module. See the menu_example module and its hook_menu implementation menu_example_menu for an example.