Folder Name and Category Name WordPress

Option 1

This is the clean way using .htaccess. Put this at the top of your .htaccess:

<IfModule mod_alias.c>
    RedirectMatch 301 /portal/wp-content/uploads/(.*) /wp-content/uploads/$1
</IfModule>

Option 2

This is a bit brute-force and I therefore wouldn’t recommend it, but I include it here for completeness.

Just copy all files in website/portal/wp-content/uploads to website/wp-content/uploads/ manually

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