Excerpt functions is removing the forward slash on the url

Here is the fix:

 return $readmore ? $str . '<a class="more-link" href="'. get_permalink($post->ID) . '">'. __('read more') .'</a>' . '</a>' : $str . '&hellip;';

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