ACF Custom post type name changing issue

The answer to this should be rather simple.

Please visit the settings page with the url settings. Just visit it.

yoursite.com/wp-admin/options-permalink.php

By doing so, WordPress should trigger the “Flush-Rewrite” hook, which creates a new .htaccess with the appropriate rules.

However, please also be aware that depending on your custom-post-type some hooks in your code might change too.

To be really sure, you can check within the template-hierarchy.

https://developer.wordpress.org/themes/basics/template-hierarchy/

One final check could be the post_types table in PHPMyAdmin/the database and see what it says. If it’s your old type, there you go.

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