Php Wordpress permalink不工作
在wordpress中创建新页面后,我将永久链接设置从“默认”更改为“帖子名称”。现在我试图访问我的页面,但是页面丢失了。我得到这个错误-Php Wordpress permalink不工作,php,wordpress,permalinks,Php,Wordpress,Permalinks,在wordpress中创建新页面后,我将永久链接设置从“默认”更改为“帖子名称”。现在我试图访问我的页面,但是页面丢失了。我得到这个错误- Not Found The requested URL /anonymous/sample-page/ was not found on this server. Plz help,thnkz.再次将永久链接设置为默认,然后设置为Postname,然后再次检查 它对我有用;) 它对我起了作用。请在.htaccess文件的IfModule mod_rewr
Not Found
The requested URL /anonymous/sample-page/ was not found on this server.
Plz help,thnkz.再次将永久链接设置为默认,然后设置为Postname,然后再次检查 它对我有用;)
它对我起了作用。请在.htaccess文件的IfModule mod_rewrite.c标记中添加以下内容 重新启动发动机 重写基/ 重写规则^index.php$-[L] 重写cond%{REQUEST_FILENAME}-f 重写cond%{REQUEST_FILENAME}-d 重写规则/index.php[L]
这对我来说很有用。如果您作为本地主机工作,并且想要设置永久链接,那么请确保激活位于“C:\wamp\bin\apache\Apache2.4.4\conf”或“C:\wamp\bin\apache\Apache2.4.4\conf\original”中的“httpd.conf”文件中的重写模块
找到行“#LoadModule rewrite_module modules/mod_rewrite.so”并删除“#”,这意味着启用该功能,保存文件并重新启动服务器,然后启用permalink,它将正常工作之后是否清除Wordpress缓存?使用W3 Total Cache或其他插件?不,怎么做?我是一个初学者。下载它,配置它,然后您可以轻松地清理缓存:观看此视频:
Delete the .htaccess file and create new .htaccess file. And Update the permalink. And check htaccess file is the code is updated.