WordPress multisite subdirectory on nginx behind reverse proxy

The problem was the sql database that did not update urls. I do not know if there is a way to do this easily but I feel like I have looked everywhere for this solution and finally found it with this answer to a somewhat similar question : https://premium.wpmudev.org/forums/topic/how-to-change-url-for-wp-multi-site#post-426799 I started over from where everything … Read more

Custom rewrite rule sends 404 header on multisite

Basically, you are doing one thing wrong, which is actually having a file named manifest.json inside /wp-content/themes/your-theme. So, first, delete your file /wp-content/themes/your-theme/manifest.json. Then, in your functions.php file you can have your rewrite rule as: function fvpd_pwa_rewrite_rules() { add_rewrite_endpoint( “manifest”, EP_NONE ); add_rewrite_rule( substr( parse_url( get_template_directory_uri(), PHP_URL_PATH ), 1 ) . “/manifest.json/?$”, “index.php?manifest=true”, “top” ); … Read more

How to know if a site is using Multisite?

Here’s a few ways to spot it, but it depends on what access you have or how the site is set up, and won’t spot that it’s a multisite in all cases. If you have a login / access to the admin site, there’s two ways I can see on the admin site the body … Read more

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