Redirecting when changing custom post type slugs?

All you need to do is add a line like:

RewriteRule ^aboutus$ /about-us [R=301,L]

In to your .htaccess file. The old url should go between the ^ and $ and then new url after the slash.

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