This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
permalinks [2011/02/13 19:11] ccagle8 created |
permalinks [2011/02/14 01:16] ccagle8 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Permalinks ====== | ====== Permalinks ====== | ||
+ | Create custom permalinks via the **Settings** tab in your GetSimple installation. Permalinks help define the URL structure of your site. If you put a value in the **Custom Permalink Structure** input box, your FancyURL setting may be overridden by the string you put in. | ||
+ | |||
+ | The default URL structure for "FancyURLs" ON is: | ||
+ | ''%parent%/%slug%/'' | ||
+ | |||
+ | The default URL structure for "FancyURLs" OFF is: | ||
+ | ''index.php?id=%slug%'' | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | |||
+ | The two tags to build your custom permalink are ''%parent%'' and ''%slug%'' | ||
+ | Do not use a beginning slash | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | Replace subdirectory with your own virtual directory - //this folder does not need to exist//: | ||
+ | <code>subdirectory/%parent%/%slug%/</code> | ||
+ | |||
+ | Removes the ''index.php'' from URL. This can be done without Fancy URL's turned on: | ||
+ | <code>?id=%slug%</code> |