Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect .html and .htm if in url path #165

Merged
merged 2 commits into from
Apr 15, 2016
Merged

Redirect .html and .htm if in url path #165

merged 2 commits into from
Apr 15, 2016

Conversation

edwardhorsford
Copy link
Contributor

This PR redirects urls that end in .html or .htm to the same url with the extension removed.

This should improve the situation where a user sees a path / filename somewhere else and attempts to visit that in the browser.

Fixes #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants