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 1
Add a comment  | 

1 Answer 1

Reset to default 0

Your 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