This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
how_to:website_settings [2013/03/27 12:30] Timbow |
how_to:website_settings [2013/04/01 23:01] Timbow [Fancy (Pretty/SEO) URLs] |
||
---|---|---|---|
Line 8: | Line 8: | ||
* **Website Name** - This is the Name of your website | * **Website Name** - This is the Name of your website | ||
* **Website Base URL** - This is the URL of where your GetSimple site is installed to | * **Website Base URL** - This is the URL of where your GetSimple site is installed to | ||
- | * **Custom Permalink Structure** - Allows you to customize your URL structure. [[:permalinks|More Information]] | + | * **Custom Permalink Structure** - Allows you to customize your URL structure. |
==== Fancy (Pretty/SEO) URLs ==== | ==== Fancy (Pretty/SEO) URLs ==== | ||
GetSimple allows you to create better looking, and more SEO friendly URLs. In order for this feature to work, your server needs to have the **mod_rewrite** module installed. | GetSimple allows you to create better looking, and more SEO friendly URLs. In order for this feature to work, your server needs to have the **mod_rewrite** module installed. | ||
- | You also have the ability to edit the structure of the URLs by setting a [[permalinks|Custom Permalink Structure]]. Certain custom structures need the **mod_rewrite** module, but not all. | + | You also have the ability to edit the structure of the URLs by setting a Custom Permalink Structure. Certain custom structures need the **mod_rewrite** module, but not all. |
==== Custom Permalink Structure ==== | ==== Custom Permalink Structure ==== | ||
Line 45: | Line 45: | ||
Next, you need to make a small change to your root level ''.htaccess'' file. Change the Rewrite Rule to this: | Next, you need to make a small change to your root level ''.htaccess'' file. Change the Rewrite Rule to this: | ||
- | <code>RewriteRule /?([A-Za-z0-9_-]+)\.html$ index.php?id=$1 [QSA,L]</code> | + | <code>RewriteRule /?([A-Za-z0-9_-]+).html$ index.php?id=$1 [QSA,L]</code> |
NOTE: Change ''.html'' to ''.php'' (or ''.htm'') in both the Rewrite Rule above and the permalink structure, if you are using that extension instead. | NOTE: Change ''.html'' to ''.php'' (or ''.htm'') in both the Rewrite Rule above and the permalink structure, if you are using that extension instead. |