Linking to a plugin setting page?
Add a public getSettingsUrl() function to your main plugin file that returns a URL string.

A full URL is not required -- you can simply return &quot;pluginname/settings&quot;.
If this is left blank, a simple settings page will be provided, filled with whatever getSettingsHtml() returns.

You can then get the URL from elsewhere in Craft using the PluginsService.
craft()-&gt;plugins-&gt;getPlugin('pluginname')-&gt;getSettingsUrl();

or PluginsVariable:
{{ craft.plugins.getPlugin('pluginname').getSettingsUrl }}