w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
.htaccess 301 redirect rule doesn't work because of capital letters

You better use mod_rewrite for ignore case handling:

RewriteRule ^folder/heythere.html$ http://www.newsite.com
[R=301,NC,L]

Due to presence of NC flag (no case) here it will redirect both /folder/HeyThere.html and /folder/heythere.html to newsite.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.