aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess28
1 files changed, 19 insertions, 9 deletions
diff --git a/.htaccess b/.htaccess
index 558a226..d2a3bd8 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,14 +1,24 @@
<IfModule mod_rewrite.c>
RewriteEngine on
+ # Permalink handling
# See https://httpd.apache.org/docs/2.4/rewrite/remapping.html
- RewriteRule ^cypherpunks$ /events/2013/cypherpunks/ [R]
- RewriteRule ^campusparty$ /events/2014/campusparty/ [R]
- RewriteRule ^cryptorave$ /events/2014/cryptorave/ [R]
- RewriteRule ^fisl$ /events/2015/fisl/ [R]
- RewriteRule ^static$ /suckless/sites/ [R]
- RewriteRule ^cli$ /suckless/cli/ [R]
- RewriteRule ^virtual$ /suckless/virtual/ [R]
- RewriteRule ^orphans$ /research/archived/ [R]
- RewriteRule ^organizacao$ https://templates.fluxo.info/organizacao [R]
+ RewriteRule ^cypherpunks$ /events/2013/cypherpunks/ [R]
+ RewriteRule ^campusparty$ /events/2014/campusparty/ [R]
+ RewriteRule ^cryptorave$ /events/2014/cryptorave/ [R]
+ RewriteRule ^fisl$ /events/2015/fisl/ [R]
+ RewriteRule ^static$ /suckless/sites/ [R]
+ RewriteRule ^cli$ /suckless/cli/ [R]
+ RewriteRule ^virtual$ /suckless/virtual/ [R]
+ RewriteRule ^orphans$ /research/archived/ [R]
+ RewriteRule ^books/amor(.*)$ /books/love$1 [R]
+ RewriteRule ^books/vida(.*)$ /books/life$1 [R]
+ RewriteRule ^books/historia(.*)$ /books/history$1 [R]
+ RewriteRule ^books/filosofia/metodo(.*)$ /books/epistemologia/metodo$1 [R]
+ RewriteRule ^books/filosofia/contra-metodo$ /books/epistemologia/contra-metodo$1 [R]
+ RewriteRule ^books/filosofia(.*)$ /books/philosophy$1 [R]
+ RewriteRule ^books/psicologia(.*)$ /books/psychology$1 [R]
+ RewriteRule ^books/sociedade(.*)$ /books/sociology$1 [R]
+ RewriteRule ^books/tecnopolitica(.*)$ /books/technology$1 [R]
+ RewriteRule ^organizacao$ https://templates.fluxo.info/organizacao [R]
</IfModule>