Why am I unable to login after converting to www?

You don’t need a rewrite rule in .htaccess to add www back in. Remove the rewrite rule, remove all the defines in wp-config and try to login. If that doesn’t work, delete permalinks in .htaccess to force them back to default. After you’re in, add the www in Dashboard>>Settings and save. Then reset permalinks.

WP Multisite – domain mapping to domain.com and separate site to domain.com/help

Yes, this is possible (see https://wordpress.org/support/article/create-a-network/). For sub-domains you’ll need to confirm that your DNS has a wildcard entry for your domain. So, based on your root domain, this would work for: mysub1.multisiteroot.com, mysub2.multisiteroot.com, etc. If you wanted to us different domain names for subsites, then you’d need to have those domain names point to … Read more

Can you have multiple wordpress sites under the same domain?

Yes, instead of installing WordPress at root– example.com/— you’d create the “programs”, “sales”, and “learning” directories on the server and install a seperate WordPress instance in each directory. There is nothing special you need to do to make this work. I think you may end up happier if you create a network, though. Multisite, while … Read more

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