apex / up

Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS.
https://up.docs.apex.sh
MIT License
8.79k stars 376 forks source link

Case insensitive redirects #619

Open chrismalek opened 6 years ago

chrismalek commented 6 years ago

Prerequisites

Description

In migrating over to UP and Hugo at the same time I am getting a lot of 404 issues with pages and inbound links. It comes down to the case of the URL. For example:

Is there some trick in the up.json rewrites to make the requested URL downcase? I don't want to have to input every page on my site to have an all lower value in the up.json file.

tj commented 6 years ago

Ahh not at the moment, hmm, I wonder too if that would count as duplicate content or not in Google. If not I don't see why not, although I don't think it's a common practice to consider urls case insensitive by convention, but it's definitely odd to have something like GET /team and GET /Team