How do I link to a specific page?

Created by Greg on on 2009-05-12
Keywords:
Developement

You can build a URL pointing to a page in your PHPDS site either with its ID (safe, always works) or its name (only works if "Friendly URLs" are on). For example, to link to the "System Settings" page:

/index.php?m=2847185666

or

/system-settings.html

Note: if you have a dot ('.') in your page name (for example, it's plugin file name "test.php"), it will be converted to a dash ('-'):

/test-php.html