admin管理员组文章数量:1125064
My permalink structure is: / However, each new blog post is getting a 301 redirect from a link like this: /
I see that each new blog post is getting the link of the date it was created. How can I make sure to not get anymore 301 redirects?
Thanks
My permalink structure is: https://website.com/sample-post/ However, each new blog post is getting a 301 redirect from a link like this: https://website.com/2024/01/30/
I see that each new blog post is getting the link of the date it was created. How can I make sure to not get anymore 301 redirects?
Thanks
Share Improve this question asked Feb 8, 2024 at 14:04 Meek MillMeek Mill 11 Answer
Reset to default 0Your WordPress site is set up to include the date in the permalink structure for blog posts. To avoid the 301 redirects and have your desired permalink structure https://website.com/sample-post/
In the Permalink Settings page, you'll see several common options for permalink structures.
Choose the Custom Structure option:
In the input field, enter /%postname%/
after save changes.
本文标签: Permalink issue with new blog posts gt getting 301 redirect
版权声明:本文标题:Permalink issue with new blog posts > getting 301 redirect 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736658885a1946325.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论