Commit 9cdce13a authored by Pat David's avatar Pat David

Add .htaccess to the site

We didn't previously use an .htaccess.
I'm adding this now to allow us to do a 301 redirect
for the /macintosh/ page.  I've set it to redirect to
/downloads/.
parent 7a732b92
#
# 301 for the old macintosh page
#
Redirect 301 /macintosh/index.html https://www.gimp.org/downloads/
......@@ -74,7 +74,7 @@ DEFAULT_PAGINATION = False
READERS = {'html': None}
# This will copy over these folders w/o modification
STATIC_PATHS = ['images', 'js', 'pages', 'tutorials', 'about', 'books', 'develop', 'docs', 'donating', 'downloads', 'features', 'bugs', 'links', 'man', 'release-notes', 'screenshots', 'source', 'unix', 'robots.txt', 'COPYING', 'GNUGPLv2', 'GNUGPLv3', 'news', 'contribute.json']
STATIC_PATHS = ['images', 'js', 'pages', 'tutorials', 'about', 'books', 'develop', 'docs', 'donating', 'downloads', 'features', 'bugs', 'links', 'man', 'release-notes', 'screenshots', 'source', 'unix', 'robots.txt', 'COPYING', 'GNUGPLv2', 'GNUGPLv3', 'news', 'contribute.json', '.htaccess']
# This sets which directories will be parsed as pages (vs. news/articles)
# If a new directory is to be added under content/, make sure it gets added here.
......
......@@ -75,7 +75,7 @@ DEFAULT_PAGINATION = False
READERS = {'html': None}
# This will copy over these folders w/o modification
STATIC_PATHS = ['images', 'js', 'pages', 'tutorials', 'about', 'books', 'develop', 'docs', 'donating', 'downloads', 'features', 'bugs', 'links', 'man', 'release-notes', 'screenshots', 'source', 'unix', 'robots.txt', 'COPYING', 'GNUGPLv2', 'GNUGPLv3', 'news', 'contribute.json']
STATIC_PATHS = ['images', 'js', 'pages', 'tutorials', 'about', 'books', 'develop', 'docs', 'donating', 'downloads', 'features', 'bugs', 'links', 'man', 'release-notes', 'screenshots', 'source', 'unix', 'robots.txt', 'COPYING', 'GNUGPLv2', 'GNUGPLv3', 'news', 'contribute.json', '.htaccess']
# This sets which directories will be parsed as pages (vs. news/articles)
# If a new directory is to be added under content/, make sure it gets added hereMarkdown.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment