Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

404 without "Trailing Slash".

Here's the .htaccess fix (untested):

RewriteEngine on

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} !(.)/$

RewriteRule ^(.)$ http://%{HTTP_HOST}/$1/ [L,R=301]



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: