Skip to content

Need to modify case-sensitive URLs #713

@yzeng25

Description

@yzeng25

Actual Behaviour

Currently, the URLs on blogs are case-sensitive, which is resulted from rules set by Apache Server. The case-sensitive URLs become inconvenient when referencing them in other websites and social media. Some might change the upper-case letters in the URLs to lower-case letters automatically. Yet visiting the low-case URLs would return a 404 page.

From the user's aspect (i.e. anyone tries to visit the URLs for the first time) would not be able to access the contents in URLs. And the user experience can be improved.

Expected Behaviour

  1. input the URLs with upper-case letters, it is accessible
  2. input the URLs with lower-case letters, it is also accessible

Steps to reproduce it
Take https://apisix.apache.org/blog/2021/06/28/why-we-need-Apache-APISIX/ for example:

  1. Open your browser.
  2. Input the URL:https://apisix.apache.org/blog/2021/06/28/why-we-need-Apache-APISIX/
  3. Access the content successfully.
  4. Change Apache-APISIX to lower-case apache-apisix
  5. Returns 404.

Screenshots of the issue
image
image

Would you like to work on the issue?

yes

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions