Click here to Skip to main content
15,880,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello guys... i would like to ask how to solve the case sensitivity problem of a website? Assuming i have a website namely www.mywebsite.com and i have a subdirectory in it namely subdirectory. So when i type in the url
www.mywebsite.com/subdirectory
its taking me to my
www.mywebsite.com/subdirectory/index.php
just fine. but the problem now is that if i type in
www.mywebsite.com/Subdirectory
with a capital 'S' on the subdirectory. it gives me a 404 page not found error. I understand that i dont have a folder named as Subdirectory and i only have subdirectory but i want my website to still direct me to my page subdirectory regardless of case format of the url. like if i type in
www.MyWebsite.com/SubDirectory
i want it to still point to my subdirectory folder... How do i accomplished that? please help thanks in advance.
Posted
Updated 9-Jan-20 6:46am

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900