diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..86b1848 --- /dev/null +++ b/.htaccess @@ -0,0 +1,7 @@ +# Set the path to prepend to all rewrites. +RewriteBase ajko/books/cooperative-software-development + +# Redirect all non-directory paths to index.html for single-page routing, +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule (.*) index.html [L,QSA] \ No newline at end of file diff --git a/index.html b/index.html index 955ef53..17a5550 100644 --- a/index.html +++ b/index.html @@ -56,7 +56,7 @@ - +