WordPress.org

Support

Support » How-To and Troubleshooting » .htaccess Case InSensitive Question

.htaccess Case InSensitive Question

  • I have on my site other files and directories outside of WordPress. Some of files have links that go to different cases of the files. So I found a solution that was to add the following to my .htaccess file to make the URL’s case insensitive.

    <IfModule mod_speling.c>
    CheckSpelling on
    CheckCaseOnly on
    </IfModule>

    This works by itself. The problem is, it doesn’t play nice with the mod_rewrite section added by WordPress. If I remove the WordPress code from the htaccess it works but WordPress permalinks don’t.

    Any ideas?

  • The topic ‘.htaccess Case InSensitive Question’ is closed to new replies.