Some fixes

Fixed some problems:

1. Slug names now work properly
2. Filenames now work properly
3. Fixed double slash error on installation  (example.com//blog)