User Tools

Site Tools


permalinks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
permalinks [2012/02/15 02:04]
ccagle8
permalinks [2012/02/15 02:04]
ccagle8
Line 1: Line 1:
-====== ​Permalinks ​======+====== ​Custom Permalink Structure ​======
  
 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 [[pretty_urls|FancyURL]] setting may be overridden by the string you put in. 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 [[pretty_urls|FancyURL]] setting may be overridden by the string you put in.
Line 29: Line 29:
 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_-]+)\.php$ index.php?​id=$1 [QSA,​L]</​code>​ <​code>​RewriteRule /?​([A-Za-z0-9_-]+)\.php$ index.php?​id=$1 [QSA,​L]</​code>​
-(Of course, change ​''​.php''​ to ''​.html''​ in the Rewrite Rule above if you are using that extension instead)+NOTE: Change ​''​.php''​ to ''​.html''​ in the Rewrite Rule above if you are using that extension instead.