How to change a WordPress network domain

The database Initially you should update all references to your old domain in the database. The following SQL will take care of that, but first read these notes – This SQL assumes that you are using the default wp_ table prefix. Simply change this to your chosen table prefix if you have changed it. Replace … Read more

.epub file blocked despite ALLOW_UNFILTERED_UPLOADS set to true

You probably need to allow the mime types for them to be allowed to upload. https://www.robertwent.com/blog/adding-custom-mime-types-for-wordpress-uploads/ //The following goes in a themes functions file or a custom hooks plugin function so_387865_custom_upload_mimes ( $existing_mimes ) { $existing_mimes[‘epub’] = ‘application/epub+zip’; $existing_mimes[‘mobi’] = ‘application/x-mobipocket-ebook’; return $existing_mimes; } add_filter(‘upload_mimes’, ‘so_387865_custom_upload_mimes’);

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