我的博客网址就像 www.example.com/blog
,我的帖子网址就像 https://www.example.com/blog/index.php/postname
,永久链接设置为自定义 . /index.php/%postname%/
我想删除博客/ index.php的帖子网址,以便发布网址为 https://www.example.com/post-name
如果我将永久链接更改为使用自定义 /%postname%/
,则会将我的帖子重定向到404页面 .
任何指导如何实现它?