Permalink issue with new blog posts > getting 301 redirect

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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)