Skip to content

Commit

Permalink
Goodbye, old howto!
Browse files Browse the repository at this point in the history
  • Loading branch information
Sobak committed Jun 20, 2014
1 parent 623fd3f commit 8e35e76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
15 changes: 0 additions & 15 deletions cron/weekly/howto

This file was deleted.

4 changes: 1 addition & 3 deletions www/.htaccess
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
RewriteEngine On

# tutorial rewrites
RewriteRule ^(((.+)/)+)?dochowto(/)?$ /$1tutorial/ [L,R=301]
RewriteRule ^(((.+)/)+)?tutorial$ /$1tutorial/ [L,R=301]
RewriteRule ^tutorial/$ /tutorial.php?chapter=intro [L]
RewriteRule ^tutorial/([a-z\-]*).php$ /tutorial.php?chapter=$1 [L]

# dochowto fix
RewriteRule ^(((.+)/)+)?dochowto$ /$1dochowto/ [R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /redirect.php

0 comments on commit 8e35e76

Please sign in to comment.