WordPress网址不区分大小写 [英] Case insensitive in wordpress urls

查看:150
本文介绍了WordPress网址不区分大小写的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Hostgator上有一个wordpress,
当我键入site.com/Author时进入404错误页面,而不是site.com/author。
我需要该代码将其添加到.htacess文件中以进行重定向。有帮助吗?

I have a wordpress with Hostgator, When I type site.com/Author goes to 404 Error page not to site.com/author. I need that code to add it in .htacess file to do that redirect. Any help ?

推荐答案

我找到了答案:只需将此代码添加到您的.htaccess文件中即可。

I found the answer: Just add this code in your .htaccess

CheckSpelling On
CheckCaseOnly On 

或使用此插件:链接

这篇关于WordPress网址不区分大小写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆