[英]Wordpress permalink is not working
在wordpress中创建新页面后,我将永久链接设置从“默认”更改为“帖子名称”。 现在,我试图访问我的页面,但是页面丢失了。 我收到此错误-
Not Found
The requested URL /anonymous/sample-page/ was not found on this server.
请帮助,thnkz。
将“永久链接”再次设置为“默认”,然后再设置为“邮政名”,然后再次进行检查。
它为我工作;)
Delete the .htaccess file and create new .htaccess file. And Update the permalink. And check htaccess file is the code is updated.
它为我工作。
请在.htaccess文件的IfModule mod_rewrite.c标记中添加以下内容
RewriteEngine开
RewriteBase /
RewriteRule ^ index.php $-[L]
RewriteCond%{REQUEST_FILENAME}!-f
RewriteCond%{REQUEST_FILENAME}!-d
RewriteRule。 /index.php [L]
它对我有用。
如果您是Localhost,并且想要设置永久链接,请确保激活位于“ C:\\ wamp \\ bin \\ apache \\ Apache2.4.4 \\ conf”或“ C:\\ wamp”中的“ httpd.conf”文件中的rewrite_module。 \\ bin \\ apache \\ Apache2.4.4 \\ conf \\ original“
找到“ #LoadModule rewrite_module modules / mod_rewrite.so”行并删除“#”,表示启用该功能并保存文件并重新启动服务器,然后启用永久链接即可
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.