aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess6
1 files changed, 6 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index d8e6eb2..bdabf00 100644
--- a/.htaccess
+++ b/.htaccess
@@ -18,6 +18,12 @@ AddType application/json .json
RewriteEngine On
RewriteBase /microblog
+# friendly URLs
+RewriteRule ^rsd/?$ rsd.xml.php [L]
+RewriteRule ^xmlrpc/?(.*)$ xmlrpc.php?/$1 [L]
+RewriteRule ^feed/json/?$ feed/feed.json [L]
+RewriteRule ^feed/atom/?$ feed/feed.xml [L]
+
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]