summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-09-15 13:00:55 +0000
committerNick Palmer <nick@sluggardy.net>2007-09-15 13:00:55 +0000
commit017d77bf8eb7ed4497d9076749e85cdae97cd9a2 (patch)
tree72d377e70026981ce237a28eb8a1e498302bac6f /.htaccess
parent8d1751622f331ac0c63a81f86c5861d902b04b68 (diff)
downloadarticles-017d77bf8eb7ed4497d9076749e85cdae97cd9a2.tar.gz
articles-017d77bf8eb7ed4497d9076749e85cdae97cd9a2.tar.bz2
articles-017d77bf8eb7ed4497d9076749e85cdae97cd9a2.zip
Support extended pretty urls without modification.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess1
1 files changed, 1 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 2c7e178..400b8aa 100644
--- a/.htaccess
+++ b/.htaccess
@@ -6,5 +6,6 @@
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME}/read.php -f
RewriteRule ^(.*)$ - [L]
+ RewriteRule ^view/(.*)$ read.php?article_id=$1 [L]
RewriteRule ^(.*)$ read.php?article_id=$1 [L]
</IfModule>