Making Links with Dictator
Typically you would show links to groups of pages in your site by using the {subpages} tag. You’d create off-site (and in some cases, on-site) links by using Markdown or HTML.
Markdown link:
[Google](http://www.google.com)HTML link:
<a href="http://www.google.com">Google</a>
Both syntaxes produce this result: Google. For simplicity and portability, Markdown syntax is preferred, so you should use it wherever possible.
URLs in Dictator
For the moment, lets assume that you want to link to a page in your own site rather then Google. To do this, we need to know the URL of the page to link to. You could simply copy and paste the URL out of your browser address bar, but Dictator provides more than one way to specify a URL.
First, an example of the most common way to specify a URL in Dictator:
index.php?id=123
Replace “123” above with the “id” of your page. You can find out the id of your page simply by looking in your web browser address bar for the number that comes after “id=”.
Since “index.php” is usually assumed, we could further simplify the above example by removing the “index.php” and just leaving the “?id=123”. For example:
http://www.your-site.com/?id=123
Another Way to Specify URLs
There is an easier-to-read way to specify URLs as well. Assuming you have named a page with a tag from your page’s settings tab, you can use that tag to refer to the page with a URL using either of the two methods:
?tag=mytag?mytag
Replace the word mytag with the tag you’ve assigned to the page.
As an example, I’ve given this page (that you are reading now) the tag “urls”. Now I can refer to it with this URL:
http://www.dictatorcms.com/?urls
Note that if this is a link between two pages in your site, there is no need to specify the whole URL (unless you want to type more), all you need is the question mark and the tag following it.
Simple Tag Links
If just linking to another page on your site, Dictator has an easy way to make the link automatically. Assuming you have assigned a tag to the page you want to link to, just specify the page’s tag between two curly brackets, i.e. {mytag}. Dictator will create the link automatically, without the need for any URLs. For example, below I typed this page’s tag—which is “urls”—between two curly brackets and the following link appeared:

