简体   繁体   English

WordPress永久链接更改将不起作用

[英]Wordpress Permalink change won't work

I want to update my permalink structure to postfix from the "plain" type, but every time I try--I get a 404 on every page I try to visit, except for the front page. 我想将我的永久链接结构从“普通”类型更新为后缀,但是每次尝试-我尝试访问的每个页面(首页除外)都显示404。 I've reset my .htaccess, deleted it and recreated it, disabled all plugins, and then tried redoing the .htaccess with the plugins still disabled--but no luck. 我已经重置了.htaccess,删除并重新创建了它,禁用了所有插件,然后尝试在仍然禁用插件的情况下重做.htaccess,但是没有运气。

I do think this was caused by the "Team" plugin by pickplugins...but still no luck when deleting that and redoing the above. 我确实认为这是由pickplugins的“ Team”插件引起的...但是删除并重做以上内容时仍然没有运气。

Any ideas? 有任何想法吗?

Thanks! 谢谢!

Make sure server enable Apache Mode Rewrite properly. 确保服务器正确启用了Apache模式重写。 This happen all apache servers doesn't install Mode Rewrite. 发生这种情况,所有apache服务器均未安装“模式重写”。

I would begin by testing whether or not the htaccess file you are editing is being used by the Apache server. 我将从测试您正在编辑的htaccess文件是否被Apache服务器使用开始。 To test this, break it intentionally (writing invalid lines of codes can achieve this). 要对此进行测试,请故意将其破坏(编写无效的代码行可以实现此目的)。 Then see if you get the 500 Internal Server Error on your page. 然后查看页面上是否收到500 Internal Server Error If you get that error, then that means your htaccess file is in fact being used by the server. 如果收到该错误,则表示服务器实际上正在使用您的htaccess文件。

if the htaccess is working then find out if mod_rewrite is working on your server. 如果htaccess正常运行,则找出mod_rewrite是否在您的服务器上正常运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM